HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Plz Help... starting to get nuts!

01-16-2003, 06:28 PM#1
Guest
I'm making a own tower defense map and evrything is finished except few things! And i have one big problem!

i think it is something wrong with this trigger \/ *Next Level*
or more exactly the events...

Events
Player - Player 12 (Brown)'s Food used becomes less then 1.00
Conditions
Actions
Set Pointer = (Pointer + 1)
Game - Display to (All players) the text: Level trigger runed
Leaderboard - *forgett this... this isnt any wrong with...*
Trigger - Run Spawn Monster <gen> (ignoring conditions)

First i have created i timer that expires after 30 seconds then this trigger above are running, and all monsters are coming go all the way to the last region and then they explode with this trigger \/

Events
Unit - A unit enters Blue Start <gen>
Conditions
(Owner Of (Triggering Unit)) Equal to Player 12 (Brown)
Actions
Unit - Explode (Triggering Unit)
Leaderboard - *forgett this to =)*

But when all Brown's units are dead the Next Level trigger wont start?! why? plz help!!!!!!!! emote_confused
01-16-2003, 07:06 PM#2
got_ammo
Make sure all of browns units have a food value, because if they are something like sheep for example, they don't have a value and so the next round will never start. I'm guessing your using the variables x, pointer, etc. You should add this to your trigger next round trig:

Actions:
If ((Pointer + 1) greater than x) then do (Trigger - Run Victory <gen> (ignoring conditions)) else do Trigger - Run Next Round <gen> (ignoring conditions))

Victory is your trigger that gives all players victory, and Run Next Round has the following stuff in it:
Events blank
Conditions blank
Actions:
Set Pointer= Pointer +1
Trigger: Run spawn units ignoring conditions

Also, make sure you have a trigger next round , and next round trig. Trigger next round acts when the food is less than 1, and if pointer +1 is less than x, then it runs next round, which sets pointer plus one and runs spawn units. If any of this sounds confusing just reply and i'll explain it better
01-16-2003, 07:26 PM#3
Guest
Quote:
Originally posted by got_ammo
[b]Make sure all of browns units have a food value, because if they are something like sheep for example,


THX!... the child that i used in the first level had no food value!!! =) REAL THX!!! :D
01-16-2003, 08:27 PM#4
Trav
Although this might not be what you're looking for, I would suggest using this instead:

Number of units owned by P12 in PMA = 0