Declaring Actor vars in script

Non-platform specific questions.

Declaring Actor vars in script

Postby jazz_e_bob » Thu Apr 29, 2004 1:56 am

I can easily declare global vars and constants in global script.

eg

double gravity = 9.8;
const TRUE = 1;
const FALSE = 0;
const HOME = 0;

Can I declare actor variables in script somehow?

eg

int myState = HOME;
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Thu Apr 29, 2004 12:42 pm

You can create actor's vars only in the Variable panel
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Thu Apr 29, 2004 6:06 pm

fair enough :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest