Taking Damage

Is there a way to cause an actor to take damage without the use of a table?
I was going to try having an actor called Projectile have a rule that basically says, "When Projectile collides with Player1, subtract 1 from attribute Player1Health." Then, "When Player1Health equals zero, destroy Player1." I can't figure out how to do it without a table, as the example games suggest.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Player1Health can be a regular game attribute. Then you'd subtract or add as normal.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @Snoop1000 make it an integer attribute such as game.PlayerHealth .

Sign In or Register to comment.