- Joined
- May 7, 2008
- Messages
- 346
Code:
Unstuck Command Player
Events
Player - Player 3 (Teal) types a chat message containing -unstuck as An exact match
Player - Player 5 (Yellow) types a chat message containing -unstuck as An exact match
Player - Player 6 (Orange) types a chat message containing -unstuck as An exact match
Player - Player 9 (Gray) types a chat message containing -unstuck as An exact match
Player - Player 10 (Light Blue) types a chat message containing -unstuck as An exact match
Player - Player 11 (Dark Green) types a chat message containing -unstuck as An exact match
Conditions
(Hero[(Player number of (Triggering player))] is in UnstuckGroup) Equal to False
Actions
Game - Display to (All players) for 10.00 seconds the text: (PlayerColours[(Player number of (Triggering player))] + Hero will be teleported to center of map in 20 seconds.)
Set Temp_point = (Center of Mid region <gen>)
Unit Group - Add Hero[(Player number of (Triggering player))] to UnstuckGroup
Unit - Pause Hero[(Player number of (Triggering player))]
Unit - Make Hero[(Player number of (Triggering player))] Invulnerable
Wait 20.00 seconds
Unit - Move Hero[(Player number of (Triggering player))] instantly to Temp_point
Unit - Unpause Hero[(Player number of (Triggering player))]
Unit - Make Hero[(Player number of (Triggering player))] Vulnerable
Custom script: call RemoveLocation(udg_Temp_point)
Wait 90.00 seconds
Unit Group - Remove Hero[(Player number of (Triggering player))] from UnstuckGroup
What's the problem here? Why it doesn't activate (It displays the message but it doesn't pause the hero , neither moves him)
If this has anything to do with the trigger , I Changed the display message , perhaps that's the problem?