TheOverWhelm
Member
- Reaction score
- 16
-Putting in right category with more info-
Question is, I am confused on how to add events through JASS to other JASS functions. I'm assuming it can be done, since that's how GUI does it and many others I imagine.
call TriggerRegisterUnitEvent(SummonerDies, GetTriggerUnit(), EVENT_UNIT_DEATH )
Like this, how would I pass the trigger? SummonerDies (in that line) just goes to a 1 when it compiles.
The call is inside a trigger so there is a GetTriggerUnit() and such
The SummonerDies is within the map script.
Futurethanks
Question is, I am confused on how to add events through JASS to other JASS functions. I'm assuming it can be done, since that's how GUI does it and many others I imagine.
call TriggerRegisterUnitEvent(SummonerDies, GetTriggerUnit(), EVENT_UNIT_DEATH )
Like this, how would I pass the trigger? SummonerDies (in that line) just goes to a 1 when it compiles.
The call is inside a trigger so there is a GetTriggerUnit() and such
The SummonerDies is within the map script.
Futurethanks