How to destroy an actor's bullet killed?

RubiyoooRubiyooo Member Posts: 163
edited November -1 in Working with GS (Mac)
Hello everybody

I have a easy question. When i destroy a enemy i would like to destroy his bullet also
Any idea? :))

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Rubiyooo, put in your bullet Rules: when collide or overlap with enemy, then the Destroy Behavior. :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • RubiyoooRubiyooo Member Posts: 163
    @gyroscope xDD

    You do not understand me. For example a soldier shoot with his gun. If the soldier is dead. I want to stop the bullets!!

    BIG FAIL!!
    Sorry if the soldier is dead. The spawn behavior too XDD
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Ah, I see. Make a boolean attribute called Bullets, set to true. In your Rules for firing the bullets, put them in a rule: When Bullets is true.

    When the soldier actor is dead, change attribute Bullets to false.
    Rubiyooo said:

    BIG FAIL!!

    “The only real failure in life is the failure to try.” :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.