- Code: Select all
int enable_grav;
enable_grav = 1;
in the "Create Actor" event.
Then i have the "Draw Actor" event in which i use this variable:
- Code: Select all
if (enable_grav)
{
// do something
}
However this wont work! May i ask why?
How can i access variables that i´ve defined within actors?