Class: Conditions

Conditions()

new Conditions()

The JSON data structure of an event page.
Properties:
Name Type Description
conditions RPG.EventPage.Conditions The event condition (RPG.EventPage.Condition).
image RPG.EventPage.Image The event graphic (RPG.EventPage.Image) .
moveType Number The type of movement (0: fixed, 1: random, 2: approach, 3: custom).
moveSpeed Number The movement speed (1: x8 slower, 2: x4 slower, 3: x2 slower, 4: normal, 5: x2 faster, 6: x4 faster)
moveFrequency Number The movement frequency (1: lowest, 2: lower, 3: normal, 4: higher, 5: highest).
moveRoute Array.<RPG.MoveRoute> The movement route (RPG.MoveRoute). Referenced only when the movement type is set to custom.
walkAnime* Boolean The truth value of the [Walking Animation] option.
stepAnime Boolean The truth value of the [Stepping Animation] option.
directionFix Boolean The truth value of the [Direction Fix] option.
through Boolean The truth value of the [Through] option.
priorityType Number The priority type (0: below characters, 1: same as characters, 2: above characters).
trigger Number The event trigger (0: action button, 1: player touch, 2: event touch, 3: autorun, 4: parallel).
list Array.<RPG.EventCommand> A list of event commands. /** The JSON data structure of an event page.
switch1Valid Boolean The truth value indicating whether the first [Switch] condition is valid.
switch2Valid Boolean The truth value indicating whether the second [Switch] condition is valid.
variableValid Boolean The truth value indicating whether the [Variable] condition is valid.
selfSwitchValid Boolean The truth value indicating whether the [Self Switch] condition is valid.
itemValid Boolean The truth value indicating whether the [Item] condition is valid.
actorValid Boolean The truth value indicating whether the [Actor] condition is valid.
switch1Id Number The ID of that switch if the first [Switch] condition is valid.
variableId Number The ID of that variable if the [Variable] condition is valid.
variableValue Number The standard value of that variable (x and greater) if the [Variable] condition is valid.
selfSwitchCh String The letter of that self switch ("A".."D") if the [Self Switch] condition is valid.
itemId Number The ID of that item if the [Item] condition is valid.
actorId Number The ID of that actor if the [Actor] condition is valid.