Namespace in reactor_objects_legacy.js

Game_Interpreter

19 public functions in 3 groups · show internal (_) functions

Everything here is tracked by Game Objects: the party, the map, its events.

Familiar territory. Game_Interpreter keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Actions 1

clear() Clear.

Updating & Drawing 2

updateWaitMode() Updates the wait mode each frame.
updateWait() Updates the wait each frame.

Other 16

rrCallMapEvent() Run another map event's page (1-based) here, the way a common event runs.
rrChangeActorCharacter() The old engine changes these independently.
rrChangeActorFace() Rr change actor face.
operateVariable() Operate variable.
rrMessageOptions() Rr message options.
rrMessageFace() Rr message face.
rrSystemGraphic() Rr system graphic.
rrKeyInputCheck() Rr key input check.
rrKeyInput() Rr key input.
rrWaitForAllMoves() Rr wait for all moves.
rrHaltAllMoves() Stop All Movement ends every forced route (EasyRPG's Game_Map::RemoveAllPendingMoves and CancelMoveRoute): ea…
rrFlashCharacter() Flash one character a colour ([r, g, b, strength], 0-255) over duration frames.
rrTerrainId() The 2003 terrain number of the tile at (x, y), from the tileset note the importer writes: <rrTerrain:{"<tileI…
rrPanReset() 2000/2003 panning: a locked pan ($gameMap._rrPanLocked) keeps the camera where it is while the player moves;…
rrRunScript() Rr run script.
rrStepScript() Rr step script.

Actions

clear

method source
Game_Interpreter.prototype.clear()

Clear. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

updateWaitMode

method source
Game_Interpreter.prototype.updateWaitMode()

Updates the wait mode each frame. (Same as the RPG Maker MZ method of this name.)

updateWait

method source
Game_Interpreter.prototype.updateWait()

Updates the wait each frame. (Same as the RPG Maker MZ method of this name.)

Other

rrCallMapEvent

method source
Game_Interpreter.prototype.rrCallMapEvent(eventId, pageIndex)

Run another map event's page (1-based) here, the way a common event runs.

rrChangeActorCharacter

method source
Game_Interpreter.prototype.rrChangeActorCharacter(actorId, name, index)

The old engine changes these independently.

Details

The old engine changes these independently. A combined MZ Change Images command would restore the other image from the database, discarding an earlier event's costume/portrait.

rrChangeActorFace

method source
Game_Interpreter.prototype.rrChangeActorFace(actorId, name, index)

Rr change actor face. (Same as the RPG Maker MZ method of this name.)

operateVariable

method source
Game_Interpreter.prototype.operateVariable(variableId, operationType, value)

Operate variable. (Same as the RPG Maker MZ method of this name.)

rrMessageOptions

method source
Game_Interpreter.prototype.rrMessageOptions(background, position)

Rr message options. (Same as the RPG Maker MZ method of this name.)

rrMessageFace

method source
Game_Interpreter.prototype.rrMessageFace(name, index)

Rr message face. (Same as the RPG Maker MZ method of this name.)

rrSystemGraphic

method source
Game_Interpreter.prototype.rrSystemGraphic(name, stretch, font)

Rr system graphic. (Same as the RPG Maker MZ method of this name.)

rrKeyInputCheck

method source
Game_Interpreter.prototype.rrKeyInputCheck(keys, held)

Rr key input check. (Same as the RPG Maker MZ method of this name.)

rrKeyInput

method source
Game_Interpreter.prototype.rrKeyInput(variableId, keys, wait, timeVariableId)

Rr key input. (Same as the RPG Maker MZ method of this name.)

rrWaitForAllMoves

method source
Game_Interpreter.prototype.rrWaitForAllMoves()

Rr wait for all moves. (Same as the RPG Maker MZ method of this name.)

rrHaltAllMoves

method source
Game_Interpreter.prototype.rrHaltAllMoves()

Stop All Movement ends every forced route (EasyRPG's Game_Map::RemoveAllPendingMoves and CancelMoveRoute): each character takes up its own movement and frequency again.

rrFlashCharacter

method source
Game_Interpreter.prototype.rrFlashCharacter(characterId, color, duration, wait)

Flash one character a colour ([r, g, b, strength], 0-255) over duration frames.

rrTerrainId

method source
Game_Interpreter.prototype.rrTerrainId(x, y)

The 2003 terrain number of the tile at (x, y), from the tileset note the importer writes: <rrTerrain:{"<tileId>": <terrain>, ...}>.

Details

The 2003 terrain number of the tile at (x, y), from the tileset note the importer writes: <rrTerrain:{"<tileId>": <terrain>, ...}>. 0 when the tileset carries none.

rrPanReset

method source
Game_Interpreter.prototype.rrPanReset(speed, wait)

2000/2003 panning: a locked pan ($gameMap._rrPanLocked) keeps the camera where it is while the player moves; returning the pan scrolls back to the player at the command's speed (1-6), by the same scrolls a player's walk makes, so pictures fixed to the map ride along.

rrRunScript

method source
Game_Interpreter.prototype.rrRunScript(generator)

Rr run script. (Same as the RPG Maker MZ method of this name.)

rrStepScript

method source
Game_Interpreter.prototype.rrStepScript()

Rr step script. (Same as the RPG Maker MZ method of this name.)