Multiple Kill Enemies

Discussion in 'How Can I...?' started by PJamaLabs, Jul 3, 2017.

  1. PJamaLabs

    PJamaLabs Boxer

    Joined:
    Apr 27, 2017
    Messages:
    70
    Likes Received:
    13
    Hi Guys,

    Looking for help again.

    What I am doing is I have a plunger which you detonate to kill things.. I have things like barrels in the way and you have to contact a detonator to blow them up. I am using an action and kill enemies. What I would love to do is have multiple detonators on a single level.

    How could I do this?

    Thanks

    Paul
     
  2. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    Make generic action that will spawn an invisible object to kill the enemies and make them blow up. So you don't have to use the "kill all enemies" action
     
  3. PJamaLabs

    PJamaLabs Boxer

    Joined:
    Apr 27, 2017
    Messages:
    70
    Likes Received:
    13
    Maybe I did not explain it correctly. Lets say I have

    6 Enemies in a level.

    Trigger 1 will kill enemies 1-3
    Trigger 2 will kill enemies 4-6
     
  4. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    Yes. Create an action. In it's Action Animation, put an object. make it character bullet with 0 speed and opacity 0. Make it spawn 9999. Now when you take action it will spawn an object that will kill enemies. You need to adjust where to spawn. or make it invisible bullet. you decide. Play with damage and health of the invisible object so it will kill only x enemies

    Or if invisible bullet is what you need make it wake up on collision (him having no collision) and no more actions
     
    PJamaLabs likes this.

Share This Page