Familiar territory. Game_Temp 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) 4
| isPlaytest() | Whether it is playtest. |
| isDestinationValid() | Whether it is destination valid. |
| isBattleRefreshRequested() | Whether it is battle refresh requested. |
| isCommonEventReserved() | Whether it is common event reserved. |
Actions 15
| setDestination() | Sets the destination. |
| clearDestination() | Clears the destination. |
| setTouchState() | Sets the touch state. |
| clearTouchState() | Clears the touch state. |
| requestBattleRefresh() | Requests the battle refresh. |
| clearBattleRefreshRequest() | Clears the battle refresh request. |
| clearCommonEventReservation() | Clears the common event reservation. |
| requestBalloon() | Requests the balloon. |
| setLastActionData() | Sets the last action data. |
| setLastUsedSkillId() | Sets the last used skill id. |
| setLastUsedItemId() | Sets the last used item id. |
| setLastSubjectActorId() | Sets the last subject actor id. |
| setLastSubjectEnemyIndex() | Sets the last subject enemy index. |
| setLastTargetActorId() | Sets the last target actor id. |
| setLastTargetEnemyIndex() | Sets the last target enemy index. |
Other 9
| destinationX() | Destination x. |
| destinationY() | Destination y. |
| touchTarget() | Touch target. |
| touchState() | Touch state. |
| reserveCommonEvent() | Reserve common event. |
| retrieveCommonEvent() | Retrieve common event. |
| retrieveAnimation() | Retrieve animation. |
| retrieveBalloon() | Retrieve balloon. |
| lastActionData() | Last action data. |
Setup & Creation
initialize
method sourceGame_Temp.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isPlaytest
method sourceGame_Temp.prototype.isPlaytest()
Whether it is playtest. (Same as the RPG Maker MZ method of this name.)
isDestinationValid
method sourceGame_Temp.prototype.isDestinationValid()
Whether it is destination valid. (Same as the RPG Maker MZ method of this name.)
isBattleRefreshRequested
method sourceGame_Temp.prototype.isBattleRefreshRequested()
Whether it is battle refresh requested. (Same as the RPG Maker MZ method of this name.)
isCommonEventReserved
method sourceGame_Temp.prototype.isCommonEventReserved()
Whether it is common event reserved. (Same as the RPG Maker MZ method of this name.)
Actions
setDestination
method sourceGame_Temp.prototype.setDestination(x, y)
Sets the destination. (Same as the RPG Maker MZ method of this name.)
clearDestination
method sourceGame_Temp.prototype.clearDestination()
Clears the destination. (Same as the RPG Maker MZ method of this name.)
setTouchState
method sourceGame_Temp.prototype.setTouchState(target, state)
Sets the touch state. (Same as the RPG Maker MZ method of this name.)
clearTouchState
method sourceGame_Temp.prototype.clearTouchState()
Clears the touch state. (Same as the RPG Maker MZ method of this name.)
requestBattleRefresh
method sourceGame_Temp.prototype.requestBattleRefresh()
Requests the battle refresh. (Same as the RPG Maker MZ method of this name.)
clearBattleRefreshRequest
method sourceGame_Temp.prototype.clearBattleRefreshRequest()
Clears the battle refresh request. (Same as the RPG Maker MZ method of this name.)
clearCommonEventReservation
method sourceGame_Temp.prototype.clearCommonEventReservation()
Clears the common event reservation. (Same as the RPG Maker MZ method of this name.)
requestBalloon
method sourceGame_Temp.prototype.requestBalloon(target, balloonId)
Requests the balloon. (Same as the RPG Maker MZ method of this name.)
setLastActionData
method sourceGame_Temp.prototype.setLastActionData(type, value)
Sets the last action data. (Same as the RPG Maker MZ method of this name.)
setLastUsedSkillId
method sourceGame_Temp.prototype.setLastUsedSkillId(skillID)
Sets the last used skill id. (Same as the RPG Maker MZ method of this name.)
setLastUsedItemId
method sourceGame_Temp.prototype.setLastUsedItemId(itemID)
Sets the last used item id. (Same as the RPG Maker MZ method of this name.)
setLastSubjectActorId
method sourceGame_Temp.prototype.setLastSubjectActorId(actorID)
Sets the last subject actor id. (Same as the RPG Maker MZ method of this name.)
setLastSubjectEnemyIndex
method sourceGame_Temp.prototype.setLastSubjectEnemyIndex(enemyIndex)
Sets the last subject enemy index. (Same as the RPG Maker MZ method of this name.)
setLastTargetActorId
method sourceGame_Temp.prototype.setLastTargetActorId(actorID)
Sets the last target actor id. (Same as the RPG Maker MZ method of this name.)
setLastTargetEnemyIndex
method sourceGame_Temp.prototype.setLastTargetEnemyIndex(enemyIndex)
Sets the last target enemy index. (Same as the RPG Maker MZ method of this name.)
Other
destinationX
method sourceGame_Temp.prototype.destinationX()
Destination x. (Same as the RPG Maker MZ method of this name.)
destinationY
method sourceGame_Temp.prototype.destinationY()
Destination y. (Same as the RPG Maker MZ method of this name.)
touchTarget
method sourceGame_Temp.prototype.touchTarget()
Touch target. (Same as the RPG Maker MZ method of this name.)
touchState
method sourceGame_Temp.prototype.touchState()
Touch state. (Same as the RPG Maker MZ method of this name.)
reserveCommonEvent
method sourceGame_Temp.prototype.reserveCommonEvent(commonEventId)
Reserve common event. (Same as the RPG Maker MZ method of this name.)
retrieveCommonEvent
method sourceGame_Temp.prototype.retrieveCommonEvent()
Retrieve common event. (Same as the RPG Maker MZ method of this name.)
retrieveAnimation
method sourceGame_Temp.prototype.retrieveAnimation()
Retrieve animation. (Same as the RPG Maker MZ method of this name.)
retrieveBalloon
method sourceGame_Temp.prototype.retrieveBalloon()
Retrieve balloon. (Same as the RPG Maker MZ method of this name.)
lastActionData
method sourceGame_Temp.prototype.lastActionData(type)
Last action data. (Same as the RPG Maker MZ method of this name.)