Development Forum |
|
| Peppery One
Papriko
|
5/25/2009 | |
Sorry, dumb question: where is the difference between ov and va variables?
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
Prodigal Sock
Ghosthande
|
5/25/2009 | 1 |
OV is more permanent than VA. VA is a short-term variable and OV is a long-term variable.
For example if you're setting the coordinates so that a plant's seeds appear in the right area in relation to the plant--you only call on those variables once, so you use VA.
Or if, say, you're using a variable to keep track of which floor an elevator is currently on, the elevator needs to remember that variable indefinitely up until the value changes, so you use OV.
|
Peppery One
Papriko
|
5/26/2009 | |
Ok, thank you.
EDIT: I have another question: do I have to pre-set variables before use them or does CAOS directly add them when I use them the first time?
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
Malkin
Manager
|
5/30/2009 | |
You need to pre-set object variables in the installation script, I'm not sure about the VA ones, though.
My TCR Norns |
Peppery One
Papriko
|
5/31/2009 | |
Thanks, maybe I try to make a small agent soon. ^^
Oh, a last question: Could someone please show me a script that enables to inject an agent into both, C3 and DS? I just mean adjusting the position, depending which injector you use.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
|