WolfieeifloW
WEHZ Helper
- Reaction score
- 372
Up to this point, I've just been using "private constant <type> <name>".
But now I need to know how to declare a variable in one trigger object (scope I guess they're called) and carry it over to another.
Here's my code (at least, the parts that you guys need to see):
How do I change those to be usable in other scopes?
EDIT: Also, how do I initialize that group?
But now I need to know how to declare a variable in one trigger object (scope I guess they're called) and carry it over to another.
Here's my code (at least, the parts that you guys need to see):
JASS:
globals
private constant group crushedGroup
private constant integer ability_ACid = 039;A001039;
private constant integer ability_ACBid = 039;A002039;
private constant integer buff_ACid = 039;B001039;
private constant integer buff_ACdid = 039;B000039;
private constant integer ability_ACdid = 039;A000039;
private constant integer dummyCaster = 039;n000039;
private constant integer dummyBuffer = 039;n001039;
endglobals
How do I change those to be usable in other scopes?
EDIT: Also, how do I initialize that group?