Code:
Event:
Unit - A Unit Dies
Conditions:
Unit Type of Killing Unit Equal to Grunt
Actions:
Make Triggering Unit Invernurable
Wait 10 seconds
Make Triggering Unit Vernarable
What if another unit triggers something while those 10 seconds are being waited for? Will that unit become "Triggering Unit" for this trigger aswell or is "Triggering Unit" a local, so to speak? And does this work for players aswell? (Triggering Player)|||The GetTriggerUnit native returns a unique result based on the trigger from which it is called. Same for GetTriggerPlayer.|||ok, ty.
/thread|||which is the trigger unit? the killing unit or dying unit?.|||The event is 'a unit dies', not 'a unit kills', so the dying unit is the triggering unit.
No comments:
Post a Comment