Familiar territory. Game_Troop 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 5
| initialize() | Sets up a new instance. |
| setup() | Setup. |
| makeUniqueNames() | Makes the unique names. |
| setupBattleEvent() | Setup battle event. |
| makeDropItems() | Makes the drop items. |
Checks (True / False) 2
| isEventRunning() | Whether it is event running. |
| isTpbTurnEnd() | Whether it is tpb turn end. |
Actions 2
| turnCount() | Turn count. |
| clear() | Clear. |
Updating & Drawing 2
| updateInterpreter() | Updates the interpreter each frame. |
| updatePluralFlags() | Updates the plural flags each frame. |
Other 9
| members() | Members. |
| troop() | Troop. |
| letterTable() | Letter table. |
| enemyNames() | Enemy names. |
| meetsConditions() | Meets conditions. |
| increaseTurn() | Increase turn. |
| expTotal() | Exp total. |
| goldTotal() | Gold total. |
| goldRate() | Gold rate. |
Setup & Creation
initialize
method sourceGame_Troop.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
setup
method sourceGame_Troop.prototype.setup(troopId)
Setup. (Same as the RPG Maker MZ method of this name.)
makeUniqueNames
method sourceGame_Troop.prototype.makeUniqueNames()
Makes the unique names. (Same as the RPG Maker MZ method of this name.)
setupBattleEvent
method sourceGame_Troop.prototype.setupBattleEvent()
Setup battle event. (Same as the RPG Maker MZ method of this name.)
makeDropItems
method sourceGame_Troop.prototype.makeDropItems()
Makes the drop items. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isEventRunning
method sourceGame_Troop.prototype.isEventRunning()
Whether it is event running. (Same as the RPG Maker MZ method of this name.)
isTpbTurnEnd
method sourceGame_Troop.prototype.isTpbTurnEnd()
Whether it is tpb turn end. (Same as the RPG Maker MZ method of this name.)
Actions
turnCount
method sourceGame_Troop.prototype.turnCount()
Turn count. (Same as the RPG Maker MZ method of this name.)
clear
method sourceGame_Troop.prototype.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
updateInterpreter
method sourceGame_Troop.prototype.updateInterpreter()
Updates the interpreter each frame. (Same as the RPG Maker MZ method of this name.)
updatePluralFlags
method sourceGame_Troop.prototype.updatePluralFlags()
Updates the plural flags each frame. (Same as the RPG Maker MZ method of this name.)
Other
members
method sourceGame_Troop.prototype.members()
Members. (Same as the RPG Maker MZ method of this name.)
troop
method sourceGame_Troop.prototype.troop()
Troop. (Same as the RPG Maker MZ method of this name.)
letterTable
method sourceGame_Troop.prototype.letterTable()
Letter table. (Same as the RPG Maker MZ method of this name.)
enemyNames
method sourceGame_Troop.prototype.enemyNames()
Enemy names. (Same as the RPG Maker MZ method of this name.)
meetsConditions
method sourceGame_Troop.prototype.meetsConditions(page)
Meets conditions. (Same as the RPG Maker MZ method of this name.)
increaseTurn
method sourceGame_Troop.prototype.increaseTurn()
Increase turn. (Same as the RPG Maker MZ method of this name.)
expTotal
method sourceGame_Troop.prototype.expTotal()
Exp total. (Same as the RPG Maker MZ method of this name.)
goldTotal
method sourceGame_Troop.prototype.goldTotal()
Gold total. (Same as the RPG Maker MZ method of this name.)
goldRate
method sourceGame_Troop.prototype.goldRate()
Gold rate. (Same as the RPG Maker MZ method of this name.)