Class in reactor_objects.js

Game_Timer

11 functions in 6 groups · hide internal

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

Familiar territory. Game_Timer 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

Setup & Creation 1

initialize() Sets up a new instance.

Checks (True / False) 1

isWorking() Whether it is working.

Actions 2

start() Start.
stop() Stop.

Events, Commands & Input 1

onExpire() Called when expire happens.

Updating & Drawing 1

update() Update.

Other 5

rrTimer() Separate, saved 2000/2003 timers; ordinary projects retain the single MZ timer.
rrLegacyControl() Rr legacy control.
rrSecondsChanged() Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole sec…
seconds() Seconds.
frames() Frames.

Setup & Creation

initialize

method source
Game_Timer.prototype.initialize()

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isWorking

method source
Game_Timer.prototype.isWorking()

Whether it is working. (Same as the RPG Maker MZ method of this name.)

Actions

start

method source
Game_Timer.prototype.start(count)

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

stop

method source
Game_Timer.prototype.stop()

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

Events, Commands & Input

onExpire

method source
Game_Timer.prototype.onExpire()

Called when expire happens. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

update

method source
Game_Timer.prototype.update(sceneActive)

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

Other

rrTimer

method source
Game_Timer.prototype.rrTimer(id)

Separate, saved 2000/2003 timers; ordinary projects retain the single MZ timer.

rrLegacyControl

method source
Game_Timer.prototype.rrLegacyControl(id, operation, seconds, visible, battle)

Rr legacy control. (Same as the RPG Maker MZ method of this name.)

rrSecondsChanged

method source
Game_Timer.prototype.rrSecondsChanged()

Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole seconds change: a count down changes no switch or variable, all MZ refreshes pages for.

Details

Pages of an imported 2000/2003 map that wait on the timer (rrTimerSec) are looked at again when its whole seconds change: a count down changes no switch or variable, all MZ refreshes pages for. Other maps pay nothing.

seconds

method source
Game_Timer.prototype.seconds()

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

frames

method source
Game_Timer.prototype.frames()

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