📜
RGSS Reference Manual
  • RGSS Reference Manual
  • RGSS Specifications
  • Ruby Syntax
    • Syntax and Expressions
    • Variables and Constants
    • Literals
    • Operator Expressions
    • Control Structures
    • Method Calls
    • Class and Method Definitions
  • Standard Library
    • Built-in Functions
    • Built-in Variables
    • Built-in Classes
      • Object
        • Array
        • Exception
        • FalseClass
        • Hash
        • IO
          • File
        • MatchData
        • Module
          • Class
        • NilClass
        • Numeric
          • Integer
            • Bignum
            • Fixnum
          • Float
        • Range
        • Proc
        • Regexp
        • String
        • Symbol
        • Time
        • TrueClass
    • Built-in Modules
      • Comparable
      • Enumerable
      • Errno
      • FileTest
      • GC
      • Kernel
      • Marshal
      • Math
    • Built-in Exception Classes
  • Game Library
    • RGSS Built-in Functions
    • RGSS Built-in Classes
      • Bitmap
      • Color
      • Font
      • Plane
      • Rect
      • Sprite
      • Table
      • Tilemap
      • Tone
      • Viewport
      • Window
      • RGSSError
      • RPG::Sprite
      • RPG::Weather
    • RGSS Built-in Modules
      • Audio
      • Graphics
      • Input
      • RPG
      • RPG::Cache
    • RPGXP Data Structures
      • RPG::Map
      • RPG::MapInfo
      • RPG::Event
      • RPG::Event::Page
      • RPG::Event::Page::Condition
      • RPG::Event::Page::Graphic
      • RPG::EventCommand
      • RPG::MoveRoute
      • RPG::MoveCommand
      • RPG::Actor
      • RPG::Class
      • RPG::Class::Learning
      • RPG::Skill
      • RPG::Item
      • RPG::Weapon
      • RPG::Armor
      • RPG::Enemy
      • RPG::Enemy::Action
      • RPG::Troop
      • RPG::Troop::Member
      • RPG::Troop::Page
      • RPG::Troop::Page::Condition
      • RPG::State
      • RPG::Animation
      • RPG::Animation::Frame
      • RPG::Animation::Timing
      • RPG::Tileset
      • RPG::CommonEvent
      • RPG::System
      • RPG::System::Words
      • RPG::System::TestBattler
      • RPG::AudioFile
  • Appendix
    • Regular Expression
    • sprintf Format
Powered by GitBook
On this page
  • Superclass
  • Referrer
  • Attributes
  • condition
  • graphic
  • move_type
  • move_speed
  • move_frequency
  • move_route
  • walk_anime
  • step_anime
  • direction_fix
  • through
  • always_on_top
  • trigger
  • list
  • Inner Classes
  • Definition
  1. Game Library
  2. RPGXP Data Structures

RPG::Event::Page

Data class for the event page.

PreviousRPG::EventNextRPG::Event::Page::Condition

Last updated 2 years ago

Superclass

Referrer

Attributes

condition

The event condition ().

graphic

The event 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

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

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

Movement route (). Referenced only when the movement type is set to Custom.

Program contents. An array.

Object
RPG::Event
RPG::Event::Page::Condition
RPG::Event::Page::Graphic
RPG::MoveRoute
RPG::EventCommand
RPG::Event::Page::Condition
RPG::Event::Page::Graphic