Spawning Problem...

JlmCJlmC Member Posts: 129
edited November -1 in Working with GS (Mac)
This is what i got

Rule:
When touch is pressed
>>Timer, After 5 second
>>>Spawn (object)Missile

however, i don't see any missile on my screen.

What's the problem?

Missile direction is 90*

thanks

Comments

  • cbtcbt Member Posts: 644
    You need to set the X and Y values on that "spawn actor" behavior. Make X=0 Y=0. And make sure to set it to "Actor" instead of "Scene" to see the results.
  • JlmCJlmC Member Posts: 129
    Actually, i want to activate an attribute.

    Rule:
    When touch is pressed
    >>Timer, every 5 second
    >>>game.missile = true

    but nothing
  • spliketspliket Member Posts: 93
    i think the problem is that the way you have it setup, you would have to be touching the actor for 5 seconds before anything would happen. if i understand what you want to happen, i would do it like this:

    Rule:
    When touch is press
    game.missile=true

    Rule #2:
    when game.missile=true
    timer, every 5 seconds
    do whatever you want
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    check run to completion in your timer
Sign In or Register to comment.