- Joined
- Jul 25, 2009
- Messages
- 194
Hi, im currently trying to make a team battle event where all units of both teams fight in an arena but before it finishes, it always crashes at a random time during the match and just recently it crashed 5 seconds after the match begun. I cant seem to find out wats causing it. Can someone help find out wats causing game to crash? Thanks soo much if help
The duel trigger:
The duel trigger:
-
Events
- Time - Elapsed game time is 815.00 seconds
- Conditions
-
Actions
- Unit - Pause all units
-
Unit Group - Pick every unit in (Units in Entire map excluding out of bounds <gen>) and do (Actions)
-
Loop - Actions
- If (((Picked unit) is A structure) Equal to False) then do (Unit - Create 1 Protector for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees) else do (Do nothing)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Entire map excluding out of bounds <gen>) and do (Actions)
-
Loop - Actions
- Unit - Order (Picked unit) to Orc Shadow Hunter - Big Bad Voodoo
-
Loop - Actions
- Game - Display to (All players) for 15.00 seconds the text: All humans VS all u...
- Sound - Stop the currently playing music theme
- Sound - Play PH1 <gen>
- Wait 5.00 seconds
- Trigger - Turn on Humans win duel <gen>
- Trigger - Turn on Undead Win <gen>
-
Player Group - Pick every player in Evil and do (Actions)
-
Loop - Actions
- Camera - Pan camera for (Picked player) to (Center of Undead duel spawn area <gen>) over 0.00 seconds
-
Loop - Actions
-
Player Group - Pick every player in Humans and do (Actions)
-
Loop - Actions
- Camera - Pan camera for (Picked player) to (Center of Human duel spawn area <gen>) over 0.00 seconds
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Entire map excluding out of bounds <gen>) and do (Actions)
-
Loop - Actions
- If ((((Owner of (Picked unit)) is in Evil) Equal to True) and (((Picked unit) is A structure) Equal to False)) then do (Unit - Create 1 (Unit-type of (Picked unit)) for (Owner of (Picked unit)) at (Random point in Undead duel spawn area <gen>) facing Default building facing degrees) else do (Do nothing)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Entire map excluding out of bounds <gen>) and do (Actions)
-
Loop - Actions
- If ((((Owner of (Picked unit)) is in Humans) Equal to True) and (((Picked unit) is A structure) Equal to False)) then do (Unit - Create 1 (Unit-type of (Picked unit)) for (Owner of (Picked unit)) at (Random point in Human duel spawn area <gen>) facing Default building facing degrees) else do (Do nothing)
-
Loop - Actions
-
Events
- Unit - A unit Dies
-
Conditions
- (Duel area <gen> contains (Dying unit)) Equal to True
- ((Owner of (Dying unit)) is in Humans) Equal to True
- ((Dying unit) is A structure) Equal to False
- ((Dying unit) is Summoned) Equal to False
- (Unit-type of (Dying unit)) Not equal to Worker
- (Unit-type of (Dying unit)) Not equal to Worker 2
- (Unit-type of (Dying unit)) Not equal to Footman
- (Unit-type of (Dying unit)) Not equal to Footman 2
- (Unit-type of (Dying unit)) Not equal to Archer
- (Race of (Dying unit)) Equal to Human
-
Actions
- Unit - Create 1 Humans for Neutral Passive at (Center of Humans lose zone <gen>) facing Default building facing degrees
-
Events
- Unit - A unit Dies
-
Conditions
- (Duel area <gen> contains (Dying unit)) Equal to True
- ((Owner of (Dying unit)) is in Evil) Equal to True
- ((Dying unit) is A structure) Equal to False
- ((Dying unit) is Summoned) Equal to False
- (Unit-type of (Dying unit)) Not equal to Giant Zombie
- (Unit-type of (Dying unit)) Not equal to Poison Zombie
- (Unit-type of (Dying unit)) Not equal to Speedy Zombie
- (Unit-type of (Dying unit)) Not equal to Doom Guard
- (Race of (Dying unit)) Equal to Undead
-
Actions
- Unit - Create 1 Undead for Neutral Passive at (Center of Humans lose zone <gen>) facing Default building facing degrees
-
Events
- Time - Every 0.01 seconds of game time
-
Conditions
- (Number of living Humans units owned by Neutral Passive) Equal to (Number of players in (All allies of (Random player from Humans)))
-
Actions
- Game - Display to (All players) for 30.00 seconds the text: The Undead have won...
-
Player Group - Pick every player in Evil and do (Actions)
-
Loop - Actions
- Player - Add 100 to (Picked player) Current gold
-
Loop - Actions
- Unit - Unpause all units
-
Unit Group - Pick every unit in (Units in Duel area <gen>) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
-
Loop - Actions
- Trigger - Turn on Game resuming in 10 seconds <gen>
- Trigger - Turn off (This trigger)
- Time - Every 0.01 seconds of game time
-
Conditions
- (Number of living Undead units owned by Neutral Passive) Equal to (Number of players in (All allies of (Random player from Evil)))
-
Actions
- Game - Display to (All players) for 30.00 seconds the text: The Humans have won...
-
Player Group - Pick every player in Humans and do (Actions)
-
Loop - Actions
- Player - Add 100 to (Picked player) Current gold
-
Loop - Actions
- Unit - Unpause all units
-
Unit Group - Pick every unit in (Units in Duel area <gen>) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
- Trigger - Turn on Game resuming in 10 seconds <gen>
-
Loop - Actions
- Trigger - Turn off (This trigger)