attributes at same time

SAMmanSAMman Member Posts: 228
edited November -1 in Working with GS (Mac)
hey guys, I am having trouble getting my attributes to work at the same time. for example, I have it set up to spawn an actor when touch is pressed and some attribute, say a timer, equals 0. The trouble is that if I press touch before the timer counts to 0, it still counts that touch so when the timer reaches 0 it spawns the actor. I want it to spawn the actor when the timer equal zero and then I press touch after that, I want it to ignore all touches before the time reaches 0. does that make sense? Thanks.
SM

Comments

  • old_kipperold_kipper Member Posts: 1,420
    have a rule that says when timer=0 and touch is pressed?

    hope that helps

    kipper
  • UtopianGamesUtopianGames Member Posts: 5,692
    How about a game boolean (true or false) called canTouch

    then a rule:

    If timer>0 canTouch = true otherwise can.Touch=false

    Then in the spawner if canTouch = true and touch is pressed......

    Darren.

    http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./Home.html

    FREE Combo Tutorial.

    http://gamesalad.com/forums/topic.php?id=27594
  • SAMmanSAMman Member Posts: 228
    Those are great ideas, thanks, I guess I have been at this too long and my brain is fried! How do I make it AND old_kipper?
    I'm also having trouble with my pause button if anyone could help there. Thanks.
    SM
  • old_kipperold_kipper Member Posts: 1,420
    Press the add sign after making one rule and it brings up another condition.

    Hope that helps

    Kipper
  • SAMmanSAMman Member Posts: 228
    thanks, I guess I thought it was something else, still having trouble with it, but not quitting yet.
Sign In or Register to comment.