Page 1 of 1

Speak...Very...Sloooowwwllyyyyy...

PostPosted: Wed Aug 30, 2006 4:53 pm
by Hedfone
Can someone provide a step-by-step 'how to' for making a variable?
(just pretend like you're talking to a 3year old)

PostPosted: Wed Aug 30, 2006 5:28 pm
by Novice
1. Open GE :wink:
2. Open the Global code window (click on the script button near the add actor button)
3. In the global code editor just above the close button is a variable button.
4. Click it
5. In the new window click Add
6. In the new window enter the name you would like your variable to have
7. Set it's type to whatever you need (if you don't understand the types there is an explenation somewhere on the forum).
8. Click Add and you have a new variable.

PostPosted: Wed Aug 30, 2006 6:55 pm
by HillBilly
Then you just need to set the value of the variable, in a script, view is a good one.

variablename=10;

or what ever value you want.

Just started messing with these 2 days ago myself. :)