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 = 'A001'
private constant integer ability_ACBid = 'A002'
private constant integer buff_ACid = 'B001'
private constant integer buff_ACdid = 'B000'
private constant integer ability_ACdid = 'A000'
private constant integer dummyCaster = 'n000'
private constant integer dummyBuffer = 'n001'
endglobals
How do I change those to be usable in other scopes?
EDIT: Also, how do I initialize that group?