![]() | |
| | #1 |
![]() Join Date: Mar 2008
Posts: 12
![]() | Duel System. How do i make duel system on my map? Like angel arena, all units playing stop and the most killers go to the duel arena, =) |
| | |
| | #2 |
![]() Join Date: Sep 2006 Location: Denmark (GMT+1)
Posts: 2,173
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Duel System. In theory it works like this: Code: Trigger1
Event
Time Event - Every 5 mins
Conditions
None
Actions
Unit Groups - Pick every unit in the map
Unit - Pause Picked Unit
Set Team1Unit = Pick a random hero from players of team 1
Set Team2Unit = Pick a random hero from players of team 2
Unit - Move Team1Unit to area to fight in
Unit - Move Team2Unit to area to fight in
Unit - Unpause Team1Unit
Unit - Unpause Team2Unit
Turn on Trigger2
Turn off triggeringtrigger Code: Trigger2:
Event
Unit - A Unit dies
Conditions
Boolean - Unit is owned by a human player
Actions
If Team1Unit is not dead then
Give all players in team 1 500 gold
Move Team1Unit back to start area
else
Give all players in team 2 500 gold
Move Team2Unit back to start area
endif
Unit Groups - Pick every unit in the map
Unit - Unpause Picked Unit
turn off triggeringtrigger
turn on trigger1 |
| | |
![]() |
| Tags |
| duel system |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [System] Item Stacking System | Mr. Zero | Spells and Systems | 1 | 12-01-2007 05:28 PM |
| Convert BoN to LOTR Castle Spawn System? | Maedhros_Feanor | Battle of Nevendaar | 6 | 11-10-2007 08:58 PM |