- Joined
- Feb 11, 2008
- Messages
- 809
Can someone please help me to understand this function;
in terms of using a trigger such as this;
JASS:
function TriggerRegisterEnterRectSimple takes trigger trig, rect r returns event
local region rectRegion = CreateRegion()
call RegionAddRect(rectRegion, r)
return TriggerRegisterEnterRegion(trig, rectRegion, null)
in terms of using a trigger such as this;
-
Player Revive
-

Events
-


Unit - A unit comes within 70.00 of Circle of Power 0073 <gen>
-
-

Conditions
-


(Unit-type of (Entering unit)) Not equal to (!=) Dogs
-
-

Actions
-


Set Temp_Unit = (Entering unit)
-


Set Temp_Player = (Owner of Temp_Unit)
-


Set Temp_Integer = (Player number of Temp_Player)
-



Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-




If - Conditions
-





(Unit-type of Temp_Unit) Equal to (==) |CFF008C9CKitty|r
-





Temp_Player Not equal to (!=) (Owner of Players_Graves[Temp_Integer])
-
-




Then - Actions
-





Hero - Add 50 experience to Temp_Unit, Show level-up graphics
-





Hero - Instantly revive Players_Heros[1] at (Player 1 (Red) start location), Show revival graphics
-





Unit - Move Players_Graves[1] instantly to (Center of PlayersGraves <gen>)
-





Camera - Pan camera for Player 1 (Red) to (Player 1 (Red) start location) over 1.00 seconds
-
-




Else - Actions
-
-
-
-









