- Joined
- Oct 12, 2013
- Messages
- 44
- Reaction score
- 8
- First Language
- English
- Primarily Uses
- N/A
How do you go about declaring a new global variable for a script to be Above Main and Below Materials?
I'm working on a script and felt like the best way to go about it was using a global variable, but I'm not sure if I should set up like a pre-set value like...
$SAMPLE = 0module Something etc etcendor if I can declare it while in a module like....
module SOMETHING $SAMPLE = $game_actors[1].expendI mean, I'm well aware of how to point to actors and all that, since they're practically variables, but you can't help but worry over simple things if you're deviating, right?
I'm working on a script and felt like the best way to go about it was using a global variable, but I'm not sure if I should set up like a pre-set value like...
$SAMPLE = 0module Something etc etcendor if I can declare it while in a module like....
module SOMETHING $SAMPLE = $game_actors[1].expendI mean, I'm well aware of how to point to actors and all that, since they're practically variables, but you can't help but worry over simple things if you're deviating, right?