Action: Guide

An action in Game Maker is a response set off by an event.

For example, if an instance of a player object hit an instance of an asteroid, it causes all the actions in the Collision event for both instances to execute.

Applies To

Most actions have a set of radio buttons marked Applies To which determines which instance the action affects.

applies-to.png

By default, it is set to self.

Self

Setting Applies To to Self will cause this action to affect the current instance.

Other

Setting this will cause this action to affect the other instance involved in an collision with the current instance.

Object

Setting this will cause an action to affect a specific object.

Relative

Many actions have a check box named relative. When the relative checkbox is checked the values will be relative to current value's. So if you have a variable, say, health, at a value of 100, then make another action saying set health -10. if the variable check box is unchecked the health variable will be set to value: -10. if the variable check box is checked, game maker will -10 from the value 100 already set, leaving a final value of 90.

relative.png

Not

Many actions have a NOT checkbox. When it is checked it will test if the expression or question not are true.
[click to add text]

not.png

Popular Actions

Highest Rated Actions

Categories: Actions : Game Maker
Drag and Drop Actions : Action Guide | List of Actions Help Out : Expand an Action Stub
rating: 0+x
page tags: action game-maker guide