Class in reactor_objects_map.js
Game_Event
39 public functions in 6 groups · show internal (_) functions
Familiar territory. Game_Event 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 4
| initialize() | Sets up a new instance. |
| initMembers() | Initializes the members. |
| setupPage() | Setup page. |
| setupPageSettings() | Setup page settings. |
Getting Information 2
| list() | List. |
| findProperPageIndex() | Finds the proper page index. |
Checks (True / False) 7
| isCollidedWithCharacters() | Whether it is collided with characters. |
| isCollidedWithEvents() | Whether it is collided with events. |
| isCollidedWithPlayerCharacters() | Whether it is collided with player characters. |
| isNearThePlayer() | Whether it is near the player. |
| isStarting() | Whether it is starting. |
| isTriggerIn() | Whether it is trigger in. |
| isOriginalPattern() | Whether it is original pattern. |
Actions 8
| stopCountThreshold() | Stops the count threshold. |
| moveTypeRandom() | Move type random. |
| moveTypeTowardPlayer() | Move type toward player. |
| moveTypeCustom() | Move type custom. |
| clearStartingFlag() | Clears the starting flag. |
| start() | Start. |
| clearPageSettings() | Clears the page settings. |
| resetPattern() | Resets the pattern. |
Updating & Drawing 5
| updateStop() | Updates the stop each frame. |
| updateSelfMovement() | Updates the self movement each frame. |
| refresh() | Refresh. |
| update() | Update. |
| updateParallel() | Updates the parallel each frame. |
Other 13
| eventId() | Event id. |
| event() | Event. |
| page() | Page. |
| lock() | Lock. |
| unlock() | Unlock. |
| erase() | Erase. |
| meetsConditions() | Meets conditions. |
| reactorSetupPageImage() | A page's Image options (page.rrImage = { mirror, flip, angle, pivot }): the page starts its picture turned th… |
| checkEventTriggerTouch() | Check event trigger touch. |
| checkEventTriggerAuto() | Check event trigger auto. |
| locate() | Locate. |
| forceMoveRoute() | Force move route. |
| pos() | Pos. |
Setup & Creation
initialize
method sourceGame_Event.prototype.initialize(mapId, eventId)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceGame_Event.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
setupPage
method sourceGame_Event.prototype.setupPage()
Setup page. (Same as the RPG Maker MZ method of this name.)
setupPageSettings
method sourceGame_Event.prototype.setupPageSettings()
Setup page settings. (Same as the RPG Maker MZ method of this name.)
Getting Information
list
method sourceGame_Event.prototype.list()
List. (Same as the RPG Maker MZ method of this name.)
findProperPageIndex
method sourceGame_Event.prototype.findProperPageIndex()
Finds the proper page index. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isCollidedWithCharacters
method sourceGame_Event.prototype.isCollidedWithCharacters(x, y)
Whether it is collided with characters. (Same as the RPG Maker MZ method of this name.)
isCollidedWithEvents
method sourceGame_Event.prototype.isCollidedWithEvents(x, y)
Whether it is collided with events. (Same as the RPG Maker MZ method of this name.)
isCollidedWithPlayerCharacters
method sourceGame_Event.prototype.isCollidedWithPlayerCharacters(x, y)
Whether it is collided with player characters. (Same as the RPG Maker MZ method of this name.)
isNearThePlayer
method sourceGame_Event.prototype.isNearThePlayer()
Whether it is near the player. (Same as the RPG Maker MZ method of this name.)
isStarting
method sourceGame_Event.prototype.isStarting()
Whether it is starting. (Same as the RPG Maker MZ method of this name.)
isTriggerIn
method sourceGame_Event.prototype.isTriggerIn(triggers)
Whether it is trigger in. (Same as the RPG Maker MZ method of this name.)
isOriginalPattern
method sourceGame_Event.prototype.isOriginalPattern()
Whether it is original pattern. (Same as the RPG Maker MZ method of this name.)
Actions
stopCountThreshold
method sourceGame_Event.prototype.stopCountThreshold()
Stops the count threshold. (Same as the RPG Maker MZ method of this name.)
moveTypeRandom
method sourceGame_Event.prototype.moveTypeRandom()
Move type random. (Same as the RPG Maker MZ method of this name.)
moveTypeTowardPlayer
method sourceGame_Event.prototype.moveTypeTowardPlayer()
Move type toward player. (Same as the RPG Maker MZ method of this name.)
moveTypeCustom
method sourceGame_Event.prototype.moveTypeCustom()
Move type custom. (Same as the RPG Maker MZ method of this name.)
clearStartingFlag
method sourceGame_Event.prototype.clearStartingFlag()
Clears the starting flag. (Same as the RPG Maker MZ method of this name.)
start
method sourceGame_Event.prototype.start()
Start. (Same as the RPG Maker MZ method of this name.)
clearPageSettings
method sourceGame_Event.prototype.clearPageSettings()
Clears the page settings. (Same as the RPG Maker MZ method of this name.)
resetPattern
method sourceGame_Event.prototype.resetPattern()
Resets the pattern. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
updateStop
method sourceGame_Event.prototype.updateStop()
Updates the stop each frame. (Same as the RPG Maker MZ method of this name.)
updateSelfMovement
method sourceGame_Event.prototype.updateSelfMovement()
Updates the self movement each frame. (Same as the RPG Maker MZ method of this name.)
refresh
method sourceGame_Event.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)
update
method sourceGame_Event.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateParallel
method sourceGame_Event.prototype.updateParallel()
Updates the parallel each frame. (Same as the RPG Maker MZ method of this name.)
Other
eventId
method sourceGame_Event.prototype.eventId()
Event id. (Same as the RPG Maker MZ method of this name.)
event
method sourceGame_Event.prototype.event()
Event. (Same as the RPG Maker MZ method of this name.)
page
method sourceGame_Event.prototype.page()
Page. (Same as the RPG Maker MZ method of this name.)
lock
method sourceGame_Event.prototype.lock()
Lock. (Same as the RPG Maker MZ method of this name.)
unlock
method sourceGame_Event.prototype.unlock()
Unlock. (Same as the RPG Maker MZ method of this name.)
erase
method sourceGame_Event.prototype.erase()
Erase. (Same as the RPG Maker MZ method of this name.)
meetsConditions
method sourceGame_Event.prototype.meetsConditions(page)
Meets conditions. (Same as the RPG Maker MZ method of this name.)
reactorSetupPageImage
method sourceGame_Event.prototype.reactorSetupPageImage(page)
A page's Image options (page.rrImage = { mirror, flip, angle, pivot }): the page starts its picture turned that way.
Details
A page's Image options (page.rrImage = { mirror, flip, angle, pivot }):
the page starts its picture turned that way. A page without them leaves a
turn a route gave the event as it is, unless the page before set one: that
turn was the page's and goes with it. Plain MZ pages never touch it.
checkEventTriggerTouch
method sourceGame_Event.prototype.checkEventTriggerTouch(x, y)
Check event trigger touch. (Same as the RPG Maker MZ method of this name.)
checkEventTriggerAuto
method sourceGame_Event.prototype.checkEventTriggerAuto()
Check event trigger auto. (Same as the RPG Maker MZ method of this name.)
locate
method sourceGame_Event.prototype.locate(x, y)
Locate. (Same as the RPG Maker MZ method of this name.)
forceMoveRoute
method sourceGame_Event.prototype.forceMoveRoute(moveRoute)
Force move route. (Same as the RPG Maker MZ method of this name.)
pos
method sourceGame_Event.prototype.pos(x, y)
Pos. (Same as the RPG Maker MZ method of this name.)