declaring own variables?

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
bensmith
Posts: 8
Joined: Mon Oct 10, 2005 8:46 pm
Location: USA

declaring own variables?

Post by bensmith »

Is it possible to declare your own variables in scripts?
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

sure is, open up a script to see how they are declared,

but basically you can assign global variable to the start of each script before the "Start" order,

im not entirely sure about local variables, but think it could be done the same way you would in a C script style language,

check out the scripts in the RF72a release, Questofdreams has put together a script that could give you a starting point.

also check out hike1's site (found on the download page) hike has lots of tutorials and demo's
Post Reply