- Joined
- Mar 30, 2013
- Messages
- 664
Hey,
When i have created an spawn trigger for an hero.
{I have created 4 other spawns just like this}
And when it spawns, (like its the last boss)
It is doubling him, making him spawn 2 instead of 1.
I dont know why, i have seen trough the triggers and i cant find any problems with it.
Hope some one can help me and +Rep for him who helpes!
(i really need to fix it because its an ultimate hero and it most be 1 and not 2.)
Or the game will be to hard
Thanks
EDIT:
If you want to see the triggers:
Tho, now i put in another hero spawn, that aint the last boss.
When i have created an spawn trigger for an hero.
{I have created 4 other spawns just like this}
And when it spawns, (like its the last boss)
It is doubling him, making him spawn 2 instead of 1.
I dont know why, i have seen trough the triggers and i cant find any problems with it.
Hope some one can help me and +Rep for him who helpes!
(i really need to fix it because its an ultimate hero and it most be 1 and not 2.)
Or the game will be to hard

Thanks

EDIT:
If you want to see the triggers:
-
Garomul
-
Events
-
Time - Elapsed game time is 2700.00 seconds
-
-
Conditions
-
Actions
-
Set TempGroup = (Units in (Playable map area) matching ((Owner of (Matching unit)) Equal to (==) Player 1 (Red)))
-
Set TempGroup2 = (Units in (Playable map area) matching ((((Matching unit) belongs to an enemy of Player 1 (Red)) Equal to (==) True) and ((Unit-type of (Matching unit)) Not equal to (!=) )))
-
Set Unitposition = (Position of (Random unit from TempGroup2))
-
Do Multiple ActionsFor each (Integer A) from 1 to 1, do (Actions)
-
Loop - Actions
-
Set Spawn_Point2[1] = (Random point in SpawnRegions2[(Random integer number between 1 and 3)])
-
Unit - Create 1 |cff8b008bDaemonic God|r for Player 1 (Red) at Spawn_Point2[1] facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Attack-Move To Unitposition
-
Custom script: call RemoveLocation (udg_Spawn_Point2[1])
-
Custom script: call RemoveLocation (udg_Spawn_Point2[bj_forLoopAIndex])
-
Wait 0.00 seconds
-
-
-
-
Custom script: call DestroyGroup(udg_TempGroup)
-
Custom script: call DestroyGroup(udg_TempGroup2)
-
Custom script: call RemoveLocation(udg_Unitposition)
-
Wait 5.00 seconds
-
Game - Display to (All players) the text: |cFF8000FFGaromul: ...
-
-
-
Garomul Death
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Dying unit)) Equal to (==) |cff8b008bDaemonic God|r
-
-
Actions
-
Game - Display to (All players) for 5.00 seconds the text: |cFF00FF00Garomul: ...
-
Wait 5.00 seconds
-
Game - Display to (All players) for 5.00 seconds the text: |cFF00FF00World Tre...
-
Wait 10.00 seconds
-
Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
-
Game - Victory Player 7 (Green) (Show dialogs, Show scores)
-
Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
-
-
Tho, now i put in another hero spawn, that aint the last boss.
-
Wyklin
-
Events
-
Time - Elapsed game time is 1780.00 seconds
-
-
Conditions
-
Actions
-
Set TempGroup = (Units in (Playable map area) matching ((Owner of (Matching unit)) Equal to (==) Player 1 (Red)))
-
Set TempGroup2 = (Units in (Playable map area) matching ((((Matching unit) belongs to an enemy of Player 1 (Red)) Equal to (==) True) and ((Unit-type of (Matching unit)) Not equal to (!=) )))
-
Set Unitposition = (Position of (Random unit from TempGroup2))
-
Do Multiple ActionsFor each (Integer A) from 1 to 1, do (Actions)
-
Loop - Actions
-
Set Spawn_Point2[1] = (Random point in SpawnRegions2[(Random integer number between 1 and 3)])
-
Unit - Create 1 |cff8b008bDaemonic God|r for Player 1 (Red) at Spawn_Point2[1] facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Attack-Move To Unitposition
-
Custom script: call RemoveLocation (udg_Spawn_Point2[1])
-
Custom script: call RemoveLocation (udg_Spawn_Point2[bj_forLoopAIndex])
-
Wait 0.00 seconds
-
-
-
-
Custom script: call DestroyGroup(udg_TempGroup)
-
Custom script: call DestroyGroup(udg_TempGroup2)
-
Custom script: call RemoveLocation(udg_Unitposition)
-
Wait 5.00 seconds
-
Game - Display to (All players) the text: |cFF800080Wyklin: N...
-
-
-
Wyklins Death
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Dying unit)) Equal to (==) |cff8b008bDaemonic God|r
-
-
Actions
-
Game - Display to (All players) for 5.00 seconds the text: |cFF800080Wyklin: ....
-
-