creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Variables   
Papriko
Peppery One

Papriko
Germany  


  5/25/2009

Sorry, dumb question: where is the difference between ov and va variables?

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Ghosthande
Prodigal Sock

Ghosthande


 visit Ghosthande's website: Breeders Beware
  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.



 
Papriko
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

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  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
 
Papriko
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...
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
1 online
Vermidia
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki