3ICE
Posted: Fri May 21, 2010 6:59 pm
If i use this trigger will it lag or leak?
The Trigger is: Wrong Terrain Region,
GUI:
Event - Unit Enters Region 012 <gen>
Condition - (Unit-Type of (Entering Unit)) Equal to Demon Hunter
Action - Set ANTILEAKpoint1 = (Center of Region 012 <gen>)
Action - If ((Terrain type at ANTILEAKpoint1) Equal to Dalaran - Trim Grass) then do (Unit - Kill (Entering unit)) else do (Do nothing)
Action - Custom script: call RemoveLocation (udg_ANTILEAKpoint1)
Jass:
Edited by 3ICE: Jass version removed, we all know how to convert a GUI trigger into JASS. No thanks.
PS: I made this all by myself. I really don't know if this trigger lag's/leaks or not.
The Trigger is: Wrong Terrain Region,
GUI:
Event - Unit Enters Region 012 <gen>
Condition - (Unit-Type of (Entering Unit)) Equal to Demon Hunter
Action - Set ANTILEAKpoint1 = (Center of Region 012 <gen>)
Action - If ((Terrain type at ANTILEAKpoint1) Equal to Dalaran - Trim Grass) then do (Unit - Kill (Entering unit)) else do (Do nothing)
Action - Custom script: call RemoveLocation (udg_ANTILEAKpoint1)
Jass:
Edited by 3ICE: Jass version removed, we all know how to convert a GUI trigger into JASS. No thanks.
PS: I made this all by myself. I really don't know if this trigger lag's/leaks or not.