powerups like mario kart boxes?

c4h1ll

New Member
Reaction score
0
My game is a race and i want to put powerups in the game - just like the boxes in mario kart.

i've created the regions where i want to powerups to be created but i dont want the runes to be the same ones over and over again.

-so i want it so that the runes are randomly picked and created (guess i have to make a rune array? but where do i go from there?)
-i want it that a new random one will be created between 3 to 6 secs after one has been picked up.
-and i wanna make it so that you can only have one powerup at a time

TY TY so much for any help you can give me
 

Exide

I am amazingly focused right now!
Reaction score
448
Make every powerup a unit.
Then you can detect whenever a unit comes within * of *unit*.
Meaning you can have a trigger that checks if anyone comes near the powerup-unit, then you can apply the powerup automatically to the unit.

Also make a unit index of variables. For example:
set RandomPowerup[1] = FootmanPowerup
set RandomPowerup[2] = RiflemanPowerup
set RandomPowerup[3] = KnightPowerup
..and so on..

Then you can 'create a RandomPowerup[random number between 1 and *] at *point* facing 270.00'
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top