Fire

beastyfurkanbeastyfurkan Member, PRO Posts: 35
edited April 2012 in Working with GS (Mac)
i am having trouble with my fire button when i press the fire button the jet fires but then it stops and i can't repress it. what i would like to do is press it and let the jet fire till let go and i can keep doing it.

Best Answer

  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    No need for a third rule.

    Just have when touch is pressed change attribute shoot to true
    then in the otherwise section of that rule change attribute shoot to false

Answers

  • youngster9youngster9 Member Posts: 326
    Maybe create a boolean and set it to true when the button is pressed. Then have another rule to shoot every x seconds so that it is rapid fire. Then also create a 3rd rule that is when button is released set boolean to false.

    Hope this helps
    youngster9
  • beastyfurkanbeastyfurkan Member, PRO Posts: 35
    k thanks for the help guys
Sign In or Register to comment.