Destroying Actors

conrad74conrad74 Member Posts: 50
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 Member Posts: 50
    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

Sign In or Register to comment.