I don't have wc3 near, else I'd test it myself.
Anybody tested this already? Thx!
for example:
event
unit 5 dies
unit 5 dies
unit 5 dies
action
set gold = gold+240
Also, another smalle question: If I add to a trigger the event "unitvariable_1 dies", but unitvariable_1 isn't defined yet, will it cause crashes or something? What if during the game, with triggers, i set unitvariable_1 to different units? will the trigger know that the unit that is supposed to trigger the trigger changed, or will it always use the first unit declared in unitvariable_1 ?
Anybody tested this already? Thx!
for example:
event
unit 5 dies
unit 5 dies
unit 5 dies
action
set gold = gold+240
Also, another smalle question: If I add to a trigger the event "unitvariable_1 dies", but unitvariable_1 isn't defined yet, will it cause crashes or something? What if during the game, with triggers, i set unitvariable_1 to different units? will the trigger know that the unit that is supposed to trigger the trigger changed, or will it always use the first unit declared in unitvariable_1 ?