Identifying Boss Wave (variables)

Red Beard

Part-Time helper.... Full Time Lurker
Reaction score
38
Yahar ye scurvy ridden rum scullin ship rots, this old sea dog needs a hand..
(its me wooden leg help me down the stairs) :nuts:

Anyway.

So i got distracted one day and decided to make a quick time filler game...
(you know when u got a group of friends wanting to play a game.. but the other guy is going to be 'a few secs')

So i got a bunch of units swarming the centre, which change as per the variable

Trigger: Spawn

Event: every (x) secs

Action: spawn (1) (Wave(Wavel_Level) for player (swarm) at etc etc
Order etc etc etc
Set (amount_spawned[real]) = (amount spawned + [total spawned])



Trigger: Wave Level Changer

Event: Value of (amount_spawned[real]) = x

Action: Set (wave_level) = (wave_level +1)


As it started to get fun, i decided to make it longer, and add 'bosses'

I decided that unlike each 'normal' wave, (which spawns a set amount of units then changes level). I wanted the 'boss levels to continue to spawn 'normal' units until the boss was dead, THEN it would continue on.

I seem to get on the verge of smacking through the problem.... but then my cigarette is finished and i forget.

Do u follow or need me to elaborate? :p
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Something simple that might just work:

Have a different trigger that continuously spawns units.
Turn it off to begin with.
When your boss appears, turn it on and turn off the "normal" spawning trigger.
Once the boss is dead, turn off the special trigger and turn back on the ususal one.
 

Red Beard

Part-Time helper.... Full Time Lurker
Reaction score
38
Yar! Acey me boy! :D

That will work.

Though if i may be so rude..... :p

Any more of ye barnacle bums got a suggestion so i could link it to my variabled triggers?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Sure...

Trigger: Wave Level Changer
Event: Value of (amount_spawned[real]) >= x
Action:
IF WeHaveABoss equal to false THEN Set (wave_level) = (wave_level +1)

And, set the (boolean) variable "WeHaveABoss" to true if there is one,
and false once he's gone.
 

Red Beard

Part-Time helper.... Full Time Lurker
Reaction score
38
Thar she blows........

Acey me boy.... By the hairs on me chin u be the greatest help* ive seen yet.... this here ship will be ready to sail in about as much time as it takes to get a wenches skirt up. And you Acey me boy... you can be first.......... :nuts:


*terms and conditions apply: greatest title subject to change and possibly rendered invalid as denoted in the following; 1) the subjects help is superceded by another option that is superior 2) the subject does not help in further demands. 3) The subject does not hand over as many reputation points as electronically feasible. 4) The amusement factor of Red Beard is not appreciated 5) Red Beard's whim. 6) The help of another on a different topic. 7) A greater donation of reputation points. 8) A greater flattery to Red Beards ego. 9) A statue erected in honour of Red Beard. 10) A fleet of Pirate Ships is bequested to Red Beard. 11) Coastal villages are not plundered, and/or the plundered coinage is not bequested to Red Beard. 12) Red Beard is forced to walk the plank as a direct result of moderatorship mutiny. :nuts:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top