Goonstation 13 - Modules - TypesDefine Details

_std/defines/actions.dm

INTERRUPT_ALWAYSInternal flag that will always interrupt any action.
INTERRUPT_MOVEInterrupted when object moves
INTERRUPT_ACTInterrupted when object does anything
INTERRUPT_ATTACKEDInterrupted when object is attacked
INTERRUPT_STUNNEDInterrupted when owner is stunned or knocked out etc.
INTERRUPT_ACTIONInterrupted when another action is started.
ACTIONSTATE_STOPPEDAction has not been started yet.
ACTIONSTATE_RUNNINGAction is in progress
ACTIONSTATE_INTERRUPTEDAction was interrupted
ACTIONSTATE_ENDEDAction ended succesfully
ACTIONSTATE_DELETEAction is ready to be deleted.
ACTIONSTATE_FINISHWill finish action after next process.
ACTIONSTATE_INFINITEWill not finish unless interrupted.

Define Details

ACTIONSTATE_DELETE

Action is ready to be deleted.

ACTIONSTATE_ENDED

Action ended succesfully

ACTIONSTATE_FINISH

Will finish action after next process.

ACTIONSTATE_INFINITE

Will not finish unless interrupted.

ACTIONSTATE_INTERRUPTED

Action was interrupted

ACTIONSTATE_RUNNING

Action is in progress

ACTIONSTATE_STOPPED

Action has not been started yet.

INTERRUPT_ACT

Interrupted when object does anything

INTERRUPT_ACTION

Interrupted when another action is started.

INTERRUPT_ALWAYS

Internal flag that will always interrupt any action.

INTERRUPT_ATTACKED

Interrupted when object is attacked

INTERRUPT_MOVE

Interrupted when object moves

INTERRUPT_STUNNED

Interrupted when owner is stunned or knocked out etc.