Page 1 of 1

How to add global Actor Variable in script ?

PostPosted: Sat Jul 12, 2008 12:54 am
by feral
How do i add a global Actor variable using a script - not the variables dialogue box.. if possible
ie: not a "global variable" ,but one that creates individual copy of the variable for every Actor

thanks
feral

Re: How to add global Actor Variable in script ?

PostPosted: Sat Jul 12, 2008 1:03 pm
by makslane
You can create Actor variables only in the Variables panel!

Re: How to add global Actor Variable in script ?

PostPosted: Mon Jul 14, 2008 10:47 pm
by Thanx
So that means, that if in a Script editor for like a collision event, if I declare a variable in code like
int i;
then that's created from then on till the end of the game globally? Or how does that work?