RPG::Event::Page

The data class for the event page.

Superclass

Referrer

Attributes

condition

The event condition (RPG::Event::Page::Condition).

graphic

The event graphic (RPG::Event::Page::Graphic) .

move_type

The type of movement (0: fixed, 1: random, 2: approach, 3: custom).

move_speed

The movement speed (1: x8 slower, 2: x4 slower, 3: x2 slower, 4: normal, 5: x2 faster, 6: x4 faster).

move_frequency

The movement frequency (1: lowest, 2: lower, 3: normal, 4: higher, 5: highest).

move_route

The movement route (RPG::MoveRoute). Referenced only when the movement type is set to custom.

walk_anime

The truth value of the [Walking Animation] option.

step_anime

The truth value of the [Stepping Animation] option.

direction_fix

The truth value of the [Direction Fix] option.

through

The truth value of the [Through] option.

priority_type

The priority type (0: below characters, 1: same as characters, 2: above characters).

trigger

The event trigger (0: action button, 1: player touch, 2: event touch, 3: autorun, 4: parallel).

list

A list of event commands. An RPG::EventCommand array.

Inner Classes

Definition

class RPG::Event::Page
  def initialize
    @condition = RPG::Event::Page::Condition.new
    @graphic = RPG::Event::Page::Graphic.new
    @move_type = 0
    @move_speed = 3
    @move_frequency = 3
    @move_route = RPG::MoveRoute.new
    @walk_anime = true
    @step_anime = false
    @direction_fix = false
    @through = false
    @priority_type = 0
    @trigger = 0
    @list = [RPG::EventCommand.new]
  end
  attr_accessor :condition
  attr_accessor :graphic
  attr_accessor :move_type
  attr_accessor :move_speed
  attr_accessor :move_frequency
  attr_accessor :move_route
  attr_accessor :walk_anime
  attr_accessor :step_anime
  attr_accessor :direction_fix
  attr_accessor :through
  attr_accessor :priority_type
  attr_accessor :trigger
  attr_accessor :list
end