Reference: Global Script Constants

From AFXWiki

Jump to: navigation, search

Contents


This section describes global constants defined by Arcane-FX.


Effect Triggers

$AFX::PLAYER_MOVE_TRIGGER_[0-5]

The six scripted triggers detected by the MoveManager and triggered by incrementing any of the script variables $mvTriggerCount0 to $mvTriggerCount5.

$AFX::PLAYER_FIRE_S_TRIGGER

A synonym for AFX::PLAYER_MOVE_TRIGGER_0, the trigger which is usually used to represent the user's weapon firing action.

$AFX::PLAYER_FIRE_ALT_S_TRIGGER

A synonym for AFX::PLAYER_MOVE_TRIGGER_1, the trigger which is usually used to represent the user's alt weapon firing action.

$AFX::PLAYER_JUMP_S_TRIGGER

A synonym for AFX::PLAYER_MOVE_TRIGGER_2, the trigger which is usually used to represent the user's jump action.

$AFX::PLAYER_LANDING_S_TRIGGER

A server-based AFX-manufactured trigger that occurs when a player lands on the ground with a certain amount of force.

$AFX::PLAYER_LF_FOOT_C_TRIGGER

A client-based trigger that occurs when a player's left foot strikes the ground.

$AFX::PLAYER_RT_FOOT_C_TRIGGER

A client-based trigger that occurs when a player's right foot strikes the ground.

$AFX::PLAYER_LANDING_C_TRIGGER

A client-based AFX-manufactured trigger that occurs when a player lands on the ground with a certain amount of force.

$AFX::PLAYER_IDLE_C_TRIGGER

A client-based AFX-manufactured trigger that occurs when a player has been idling in the root state for a certain amount of time.


Spell Conditionals

$AFX::IMPACTED_SOMETHING

Any kind of impact occurred.

$AFX::IMPACTED_TARGET

The impacted object is also the intended target.

$AFX::IMPACTED_PRIMARY

The impacted object matches a primary object type.

$AFX::IMPACTED_IN_WATER

The impact occurred in water.

$AFX::CASTER_IN_WATER

The spellcaster is located in water.


Life Conditions

$AFX::ALIVE

Target is alive. (Same as $AFX::ENABLED)

$AFX::DEAD

Target is dead. (Same as $AFX::DISABLED)

$AFX::DYING

Target is dying or it just died. A target is dying if it was alive at a spell's impact time but is now dead. (Same as $AFX::FAILING)

$AFX::ENABLED

Target is enabled. (Same as $AFX::ALIVE)

$AFX::DISABLED

Target is disabled. (Same as $AFX::DEAD)

$AFX::FAILING

Target is failing or it just failed. A target is failing if it was enabled at a spell's impact time but is now disabled. (Same as $AFX::DYING)


Infinities

$AFX::INFINITE_REPEATS

Used to set infinite looping effects phrases.

$AFX::INFINITE_TIME

Used to set infinite time durations.

Personal tools