| 10-31-2004, 03:55 PM | #1 |
Ok, I made a duel system and it works for team one. But does nothing for team two...Here are the triggers. This is where the duel starts, the duel timer works fine so I wont post that, but I will post the part where I set TeamOne and TeamTwo Code:
Start Duel
Events
Time - DuelTimer expires
Conditions
Actions
Countdown Timer - Hide (Last created timer window)
Set Duelist[1] = (Random unit from (Units owned by (Random player from TeamOne) matching (((Matching unit) is A Hero) Equal to True)))
Set Duelist[2] = (Random unit from (Units owned by (Random player from TeamTwo) matching (((Matching unit) is A Hero) Equal to True)))
Unit - Move Duelist[1] instantly to (Center of Duel Enter One <gen>)
Unit - Move Duelist[2] instantly to (Center of Duel Enter Two <gen>)
Unit - Pause Duelist[1]
Unit - Pause Duelist[2]
Camera - Pan camera for (Owner of Duelist[1]) to (Center of Duel Enter One <gen>) over 2.00 seconds
Camera - Pan camera for (Owner of Duelist[2]) to (Center of Duel Enter Two <gen>) over 2.00 seconds
Game - Display to (All players) for 30.00 seconds the text: (Duel Time! Players + ((Name of (Owner of Duelist[1])) + ( and + ((Name of (Owner of Duelist[2])) + were choosen!))))
Game - Display to (All players) the text: Duel will begin in ...
Wait 10.00 seconds
Unit - Unpause Duelist[1]
Unit - Unpause Duelist[2]
Game - Display to (All players) the text: GO!Code:
Event - Map Int Condition - None Actions - Set TeamOne = (All allies of Player 6 (Orange)) Set TeamOne = (All allies of Player 1 (Red)) |
| 10-31-2004, 04:08 PM | #2 | |
Quote:
![]() Things like this happen to me a lot ![]() |
| 10-31-2004, 04:13 PM | #3 |
oh...heh...I knew that :D no more problems thx a thing! lolol I am dumb ^_^ |
