FANDOM


So simple.

writing health = 5 to script will set the health to 5 when it runs.

writing health=health-2 will remove +2 from health. If health is 5 before, its now 3.

Example: Collision with obj_monster:

health=health-2; //Remove +2 because we collide with the monster

action_message("You collided with the monster!");