- Joined
- May 12, 2012
- Messages
- 59
hey there, ive been looking online and searching here for a fix and i have not been able to find one. im setting up a zombie map like the one in COD, a never ending slaughter fest and i cant seem to get the "run trigger" function to work when its used in an "if, then, else" function.
I posted the trigger below so if you can see a solution please let me know, im trying to avoid custom scripts though so please keep it simple GUI, i like making my stuff so other people can snag it later.
The above trigger is called twice, once when the random character is generated and again after each wave which is posted below. The first time works correctly, but the second does not.
I put two variables in the trigger to set both of the conditional values to zero to determine if that indeed was the case... it was not. I havent been able to get them to work unless i move the "run trigger" function out of the "if, then, else" function. its driving me batty and ive been working on it for a week. Assistance would be great.
Thank you
I posted the trigger below so if you can see a solution please let me know, im trying to avoid custom scripts though so please keep it simple GUI, i like making my stuff so other people can snag it later.
-
Waves
- Events
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- Zombie_Numbers Less than or equal to 0
- Zombies_OTF Less than or equal to 0
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Set Zombie_Numbers = (Base_Number + 12)
- Set Base_Number = Zombie_Numbers
- Set Zombies_AOTF = (Zombies_AOTF + 5)
- Set Level = (Level + 1)
- Trigger - Run Round <gen> (checking conditions)
- Wait 6.00 seconds
-
Else - Actions
- Wait until ((Zombie_Numbers Less than or equal to 0) and (Zombies_OTF Less than or equal to 0)), checking every 1.00 seconds
- Trigger - Run (This trigger) (checking conditions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Round
- Events
- Conditions
-
Actions
- Game - Display to (All players) the text: (String(Level))
- -------- Needs Fix --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- Zombie_Numbers Less than or equal to 0
- Zombies_OTF Less than or equal to 0
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- -------- Test --------
- Set Zombie_Numbers = 0
- Set Zombies_OTF = 0
- -------- Test --------
- Trigger - Run Waves <gen> (checking conditions)
-
Else - Actions
- Do nothing
-
If - Conditions
Thank you