Help

JS-GLOBAL-VARIABLES

For immortals Also: JAVASCRIPT-GLOBAL-VARIABLES

Inside Arcane Ages JavaScript behaviors, there are several global variables defined that represent players in an event:

actorRepresents the actor in the current event.
selfRepresents the element the behavior is attached to.
subjectRepresents the subject of the current event.
eventRepresents the current event object.
auraRepresents the current aura whenever aura-behaviors are entered.

If a specified variable doesn't apply, the variable will be null (for example, many events don't have a corresponding subject). Also, the class of the variable will vary depending on the circumstances (for example, the actor could be a character or object).