- Joined
- Feb 22, 2009
- Messages
- 158
Hi all, im making a Teleport system for my map, that should send your unit to the other players lane. Here's my triggers. It's something wrong!
SOLVED! No more helping...
SOLVED! No more helping...
-
Red
-

Events
-


Unit - A unit enters RED END <gen>
-
-

Conditions
-


((Unit-type of (Entering unit)) is A Hero) Equal to False
-


(Owner of (Entering unit)) Equal to Player 1 (Red)
-


((Triggering player) controller) Equal to User
-


((Triggering player) slot status) Equal to Is playing
-
-

Actions
-


Trigger - Run Teleporter System <gen> (checking conditions)
-
-
-
Teleporter System
-

Events
-

Conditions
-

Actions
-


Set Counter[(Player number of (Owner of (Entering unit)))] = (Player number of (Owner of (Entering unit)))
-


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



If - Conditions
-




(Player_Bases[Counter[(Player number of (Owner of (Entering unit)))]] is alive) Equal to True
-




(Owner of (Entering unit)) Equal to System_Players[Counter[(Player number of (Owner of (Entering unit)))]]
-
-



Then - Actions
-




Set Counter[(Player number of (Owner of (Entering unit)))] = (Counter[(Player number of (Owner of (Entering unit)))] + 1)
-




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





If - Conditions
-






Counter[(Player number of (Owner of (Entering unit)))] Greater than 12
-
-





Then - Actions
-






Set Counter[(Player number of (Owner of (Entering unit)))] = 1
-
-





Else - Actions
-






-------- STOP --------
-
-
-




For each (Integer A) from 1 to 12, do (Actions)
-





Loop - Actions
-






Set Counter[(Player number of (Owner of (Entering unit)))] = (Counter[(Player number of (Owner of (Entering unit)))] + 1)
-






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







If - Conditions
-








(Player_Bases[Counter[(Player number of (Owner of (Entering unit)))]] is alive) Equal to True
-
-







Then - Actions
-








Set tempPoint = PlayerEnd[Counter[(Player number of (Owner of (Entering unit)))]]
-








Set tempPoint2 = PlayerEnd[(Player number of (Owner of (Entering unit)))]
-








Unit - Move (Entering unit) instantly to tempPoint
-








Special Effect - Create a special effect at tempPoint2 using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
-








Wait 2.00 seconds
-








Special Effect - Destroy (Last created special effect)
-








Custom script: call RemoveLocation(udg_tempPoint)
-








Custom script: call RemoveLocation(udg_tempPoint2)
-
-







Else - Actions
-








Unit - Explode (Entering unit)
-
-
-
-
-
-



Else - Actions
-




-------- STOP --------
-
-
-
-








