Class in reactor_objects.js

Game_Temp

29 functions in 4 groups · hide internal

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

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 source
Game_Temp.prototype.initialize()

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

Checks (True / False)

isPlaytest

method source
Game_Temp.prototype.isPlaytest()

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

isDestinationValid

method source
Game_Temp.prototype.isDestinationValid()

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

isBattleRefreshRequested

method source
Game_Temp.prototype.isBattleRefreshRequested()

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

isCommonEventReserved

method source
Game_Temp.prototype.isCommonEventReserved()

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

Actions

setDestination

method source
Game_Temp.prototype.setDestination(x, y)

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

clearDestination

method source
Game_Temp.prototype.clearDestination()

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

setTouchState

method source
Game_Temp.prototype.setTouchState(target, state)

Sets the touch state. (Same as the RPG Maker MZ method of this name.)

clearTouchState

method source
Game_Temp.prototype.clearTouchState()

Clears the touch state. (Same as the RPG Maker MZ method of this name.)

requestBattleRefresh

method source
Game_Temp.prototype.requestBattleRefresh()

Requests the battle refresh. (Same as the RPG Maker MZ method of this name.)

clearBattleRefreshRequest

method source
Game_Temp.prototype.clearBattleRefreshRequest()

Clears the battle refresh request. (Same as the RPG Maker MZ method of this name.)

clearCommonEventReservation

method source
Game_Temp.prototype.clearCommonEventReservation()

Clears the common event reservation. (Same as the RPG Maker MZ method of this name.)

requestBalloon

method source
Game_Temp.prototype.requestBalloon(target, balloonId)

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

setLastActionData

method source
Game_Temp.prototype.setLastActionData(type, value)

Sets the last action data. (Same as the RPG Maker MZ method of this name.)

setLastUsedSkillId

method source
Game_Temp.prototype.setLastUsedSkillId(skillID)

Sets the last used skill id. (Same as the RPG Maker MZ method of this name.)

setLastUsedItemId

method source
Game_Temp.prototype.setLastUsedItemId(itemID)

Sets the last used item id. (Same as the RPG Maker MZ method of this name.)

setLastSubjectActorId

method source
Game_Temp.prototype.setLastSubjectActorId(actorID)

Sets the last subject actor id. (Same as the RPG Maker MZ method of this name.)

setLastSubjectEnemyIndex

method source
Game_Temp.prototype.setLastSubjectEnemyIndex(enemyIndex)

Sets the last subject enemy index. (Same as the RPG Maker MZ method of this name.)

setLastTargetActorId

method source
Game_Temp.prototype.setLastTargetActorId(actorID)

Sets the last target actor id. (Same as the RPG Maker MZ method of this name.)

setLastTargetEnemyIndex

method source
Game_Temp.prototype.setLastTargetEnemyIndex(enemyIndex)

Sets the last target enemy index. (Same as the RPG Maker MZ method of this name.)

Other

destinationX

method source
Game_Temp.prototype.destinationX()

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

destinationY

method source
Game_Temp.prototype.destinationY()

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

touchTarget

method source
Game_Temp.prototype.touchTarget()

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

touchState

method source
Game_Temp.prototype.touchState()

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

reserveCommonEvent

method source
Game_Temp.prototype.reserveCommonEvent(commonEventId)

Reserve common event. (Same as the RPG Maker MZ method of this name.)

retrieveCommonEvent

method source
Game_Temp.prototype.retrieveCommonEvent()

Retrieve common event. (Same as the RPG Maker MZ method of this name.)

retrieveAnimation

method source
Game_Temp.prototype.retrieveAnimation()

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

retrieveBalloon

method source
Game_Temp.prototype.retrieveBalloon()

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

lastActionData

method source
Game_Temp.prototype.lastActionData(type)

Last action data. (Same as the RPG Maker MZ method of this name.)