idk_a_name
ABC GUM :D
- Reaction score
- 43
This is one of my last problems I have with my map, but the biggest. Levels. everything seems to be in order, it just wont go to the next level. What I'm thinking is the problem is that two sides of the map are spawning different colored units at the same sides.
Note I realize that this trigger has no event, because after my cinematic it runs this trigger.
Also I realize that all of the unit spawns aren't filled out. right now it doesn't matter because it wont get past level 1.
This is the most important piece of my map, so anything leading to fixing this I will +rep
Code:
Browns Food
Events
Player - Player 12 (Brown)'s Food used becomes Less than or equal to 0.00
Conditions
Actions
Trigger - Run Next Level <gen> (checking conditions)
Code:
DG Food
Events
Player - Player 11 (Dark Green)'s Food used becomes Less than or equal to 0.00
Conditions
Actions
Trigger - Run Next Level <gen> (checking conditions)
Note I realize that this trigger has no event, because after my cinematic it runs this trigger.
Code:
Next Level
Events
Conditions
Actions
Set Level_Number = (Level_Number + 1)
-------- Timer --------
If (Level_Number Equal to 1) then do (Countdown Timer - Start Next_Level as a One-shot timer that will expire in 30.00 seconds) else do (Countdown Timer - Start Next_Level as a One-shot timer that will expire in 10.00 seconds)
Countdown Timer - Create a timer window for (Last started timer) with title ((Level + (String(Level_Number))) + in...)
-------- Set Next Level --------
If (Level_Number Equal to 1) then do (Wait 20.00 seconds) else do (Do nothing)
Game - Display to (All players) the text: |c0000cdf9Next leve...
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Level_Number Equal to 30
Then - Actions
Game - Display to (All players) the text: You have done well ...
Game - Display to (All players) the text: Made By oscarmyerwe...
Else - Actions
Trigger - Run Set Levels <gen> (checking conditions)
Also I realize that all of the unit spawns aren't filled out. right now it doesn't matter because it wont get past level 1.
Code:
Set Levels
Events
Conditions
Defeat Equal to False
Actions
-------- Level 1 --------
If (Level_Number Equal to 1) then do (Set Monster_Type = Child) else do (Do nothing)
If (Level_Number Equal to 1) then do (Set Monster_Amount = 30) else do (Do nothing)
-------- Level 2 --------
If (Level_Number Equal to 2) then do (Set Monster_Type = Woman) else do (Do nothing)
If (Level_Number Equal to 2) then do (Set Monster_Amount = 30) else do (Do nothing)
-------- Level 3 --------
If (Level_Number Equal to 3) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 3) then do (Set Monster_Amount = 30) else do (Do nothing)
-------- Level 4 --------
If (Level_Number Equal to 4) then do (Set Monster_Type = Footman) else do (Do nothing)
If (Level_Number Equal to 4) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 5 --------
If (Level_Number Equal to 5) then do (Set Monster_Type = Captain) else do (Do nothing)
If (Level_Number Equal to 5) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 6 --------
If (Level_Number Equal to 6) then do (Set Monster_Type = Knight) else do (Do nothing)
If (Level_Number Equal to 6) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 7 --------
If (Level_Number Equal to 7) then do (Set Monster_Type = Priest) else do (Do nothing)
If (Level_Number Equal to 7) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 8 --------
If (Level_Number Equal to 8) then do (Set Monster_Type = Sorceress) else do (Do nothing)
If (Level_Number Equal to 8) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 9 --------
If (Level_Number Equal to 9) then do (Set Monster_Type = Spell Master) else do (Do nothing)
If (Level_Number Equal to 9) then do (Set Monster_Amount = 100) else do (Do nothing)
-------- Level 10 (Boss 1) --------
If (Level_Number Equal to 10) then do (Set Monster_Type = Lord Garithos) else do (Do nothing)
If (Level_Number Equal to 10) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- Level 11 --------
If (Level_Number Equal to 11) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 11) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 12 --------
If (Level_Number Equal to 12) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 12) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 13 --------
If (Level_Number Equal to 13) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 13) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 14 --------
If (Level_Number Equal to 14) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 14) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 15 --------
If (Level_Number Equal to 15) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 15) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- Level 16 --------
If (Level_Number Equal to 16) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 16) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 17 --------
If (Level_Number Equal to 17) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 17) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 18 --------
If (Level_Number Equal to 18) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 18) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 19 --------
If (Level_Number Equal to 19) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 19) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 20 (Boss 2) --------
If (Level_Number Equal to 20) then do (Set Monster_Type = ) else do (Do nothing)
If (Level_Number Equal to 20) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- Level 21 --------
If (Level_Number Equal to 21) then do (Set Monster_Type = Helish Healer) else do (Do nothing)
If (Level_Number Equal to 21) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 22 --------
If (Level_Number Equal to 22) then do (Set Monster_Type = Magic Vault) else do (Do nothing)
If (Level_Number Equal to 22) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 23 --------
If (Level_Number Equal to 23) then do (Set Monster_Type = Helish Sorcerer) else do (Do nothing)
If (Level_Number Equal to 23) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 24 --------
If (Level_Number Equal to 24) then do (Set Monster_Type = Miscellaneous) else do (Do nothing)
If (Level_Number Equal to 24) then do (Set Monster_Amount = 7) else do (Do nothing)
-------- Level 25 --------
If (Level_Number Equal to 25) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 25) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- Level 26 --------
If (Level_Number Equal to 26) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 26) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- Level 27 --------
If (Level_Number Equal to 27) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 27) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- 28 --------
If (Level_Number Equal to 28) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 28) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- 29 --------
If (Level_Number Equal to 29) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 29) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- 30 --------
If (Level_Number Equal to 30) then do (Set Monster_Type = Man) else do (Do nothing)
If (Level_Number Equal to 30) then do (Set Monster_Amount = 1) else do (Do nothing)
-------- 31 --------
If (Level_Number Equal to 31) then do (Set Monster_Type = Hakama (form 1)) else do (Do nothing)
If (Level_Number Equal to 31) then do (Set Monster_Amount = 1) else do (Do nothing)
This is the most important piece of my map, so anything leading to fixing this I will +rep