hey all...
i made the following trigger but it works just sometimes :
anyone has a clue why its just working sometimes?
thanks in advance
greetz happy
i made the following trigger but it works just sometimes :
Trigger:
- respawn
- Events
- Unit - A unit Dies
- Conditions
- Multiple ConditionsOr - Any (Conditions) are true
- Conditions
- (Owner of (Triggering unit)) Equal to (==) Player 1 (Red)
- (Owner of (Triggering unit)) Equal to (==) Player 2 (Blue)
- (Owner of (Triggering unit)) Equal to (==) Player 3 (Teal)
- (Owner of (Triggering unit)) Equal to (==) Player 4 (Purple)
- (Owner of (Triggering unit)) Equal to (==) Player 5 (Yellow)
- (Owner of (Triggering unit)) Equal to (==) Player 6 (Orange)
- (Owner of (Triggering unit)) Equal to (==) Player 7 (Green)
- (Owner of (Triggering unit)) Equal to (==) Player 8 (Pink)
- (Owner of (Triggering unit)) Equal to (==) Player 9 (Grey)
- (Owner of (Triggering unit)) Equal to (==) Player 10 (Light Blue)
- (Owner of (Triggering unit)) Equal to (==) Player 11 (Dark Green)
- (Owner of (Triggering unit)) Equal to (==) Player 12 (Brown)
- Conditions
- Multiple ConditionsOr - Any (Conditions) are true
- Actions
- Set TempGroup = (Units owned by (Owner of (Triggering unit)))
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- 'IF'-Conditions
- (Number of units in TempGroup) Less than/Equal to (<=) 1
- 'THEN'-Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- 'IF'-Conditions
- ((Triggering unit) is A Hero) Equal to (==) True
- 'THEN'-Actions
- Unit - Remove (Triggering unit) from the game
- 'ELSE'-Actions
- 'IF'-Conditions
- Set TempPoint = (Random point in (Playable map area))
- Unit - Create 1 creeps[(Random integer number between 1 and CreepNumber)] for (Owner of (Triggering unit)) at TempPoint facing (Random angle) degrees
- Custom script: call RemoveLocation (udg_TempPoint)
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- 'ELSE'-Actions
- 'IF'-Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Custom script: call DestroyGroup(udg_TempGroup)
- Set TempGroup = (Units owned by (Owner of (Triggering unit)))
- Events
anyone has a clue why its just working sometimes?
thanks in advance
greetz happy