How to spawn a one time bomb?

Hi

Ok so my hero collides with a bomb actor.

That means he's allowed to detonate that 1 bomb.

But once he used it the button he pressed to activate it has to be turned off.

The button to detonate the bomb only is active when my hero collides with the bomb actor.

Then the player can bomb.

How do i express that? I've tried a couple rules but i'm confused between choosing boolean or intergear to express the rules.

Please any help would be much appreciated.

Thanks
Sincerely
Dom

Comments

  • AlphaCentoriAlphaCentori Member Posts: 57

    Hi! Still can't figure it out. Anyone can help. Please :(

  • AlphaCentoriAlphaCentori Member Posts: 57
    edited August 2014

    What i need is to tell gamesalad this:

    When ship collides with bomb icon --> give player a bomb

    When shift key is down --> Bomb explodes

    When bomb used --> No more bombs

  • AlphaCentoriAlphaCentori Member Posts: 57

    Wow i impress myself. I did it, it works!!!! YES!!!!!

Sign In or Register to comment.