RPG::Event::Page
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
Type of movement (0: fixed, 1: random, 2: approach, 3: custom).
move_speed
Movement speed (1: slowest, 2: slower, 3: slow, 4: fast, 5: faster, 6: fastest).
move_frequency
Movement frequency (1: lowest, 2: lower, 3: low ,4: high, 5: higher, 6: highest).
move_route
Movement route (RPG::MoveRoute). Referenced only when the movement type is set to Custom.
walk_anime
Truth value of the [Moving Animation] option.
step_anime
Truth value of the [Stopped Animation] option.
direction_fix
Truth value of the [Fixed Direction] option.
through
Truth value of the [Move Through] option.
always_on_top
Truth value of the [Always On Top] option.
trigger
Event trigger (0: action button, 1: contact with player, 2: contact with event, 3: autorun, 4: parallel processing).
list
Program contents. An RPG::EventCommand array.
Inner Classes
Definition
module RPG
class Event
class 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
@always_on_top = false
@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 :always_on_top
attr_accessor :trigger
attr_accessor :list
end
end
end
Last updated