GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Destroying Actors

conrad74conrad74 Posts: 50Member
edited November -1 in Working with GS (Mac)
Can you destroy an actor using another actor? For example, if a BRICK (actor) collides with a BOMB (actor), destroy PLAYER ONE (actor)? Thanks!!!

Comments

  • conrad74conrad74 Posts: 50Member
    Again, thanks a bunch. I appreciate it.
    tshirtbooth said:
    yes you can

    you will need an attribute game.killactor set to 0

    Rule on brick
    Id overlaps or collides with bomb
    change game.killactor to 1

    and on player one have a rule
    if attribute game.killactor = 1
    destroy

    cheers

This discussion has been closed.