- Joined
- Sep 14, 2008
- Messages
- 1,408
I run this trigger from another trigger but it won't work... it always selects the same heros...
EDIT:
I added the map so you can try it for yourself...
PLEASE help me
-
Select Survivors
-
Event
-
Conditions
-
Actions
-
Set randomInt = (Random integer number between 0 and 5)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Condition
-
HeroSelected[randomInt] equal False
-
-
'THEN'-Actions
-
Unitgroup - Add Heros[randomInt] to survivors
-
Set HeroSelected[randomInt] = True
-
Set counter = (counter + 1)
-
-
-
'ELSE'-Actions
-
Trigger- Run (This trigger) (ignoring conditions)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Condition
-
counter Gleich numPlayerPlaying
-
-
'THEN'-Actions
-
Trigger- Run Survivors <gen> (ignoring conditions)
-
-
'ELSE'-Actions
-
Trigger - Run (This trigger) (ignoring conditions)
-
-
-
-
-
Init variables
-
Event
-
Map initialization
-
-
Conditions
-
Actions
-
Set Heros[1] = Ambassador of the Moon Guild 0006 <gen>
-
Set Heros[2] = Ambassador of the Blood Guild 0008 <gen>
-
Set Heros[3] = Ambassador of the Shadow Guild 0009 <gen>
-
Set Heros[4] = Ambassador of the Arcane Guild 0007 <gen>
-
-
EDIT:
I added the map so you can try it for yourself...
PLEASE help me
Attachments
Last edited: