Spawn Problem

SwaggedSwagged Member Posts: 50
edited November -1 in Working with GS (Mac)
in order to make a character spawn only once when pressed i made a boolean attribute called spawn and made it true, then i went into the actor that spawns the other actor and made a rule "when touch is pressed and when spawn in true; spawn actor and change attribute spawn to 0" however when i touch multiple times it spawns the actor over and over. what can i do?

Comments

  • pokafacepokaface Member Posts: 15
    BUMP..

    I have this same exact question..
  • chicopchicop Member Posts: 263
    You need a function that turns spawn true back to false I'm guessing... Can trigger it with a timer.. Sometimes the timer on 0.1 sec is needed for a command to register, I don't know why but that works for me sometimes ...

    I have no idea if this works but it's what I would try if you have not already
  • UtopianGamesUtopianGames Member Posts: 5,692
    I will make a video give me 5.

    Darren.

    image
  • UtopianGamesUtopianGames Member Posts: 5,692


    Darren.
Sign In or Register to comment.