Class in reactor_objects_battlers.js

Game_Troop

20 public functions in 5 groups · show internal (_) functions

Actors and their stats.

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

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

setup

method source
Game_Troop.prototype.setup(troopId)

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

makeUniqueNames

method source
Game_Troop.prototype.makeUniqueNames()

Makes the unique names. (Same as the RPG Maker MZ method of this name.)

setupBattleEvent

method source
Game_Troop.prototype.setupBattleEvent()

Setup battle event. (Same as the RPG Maker MZ method of this name.)

makeDropItems

method source
Game_Troop.prototype.makeDropItems()

Makes the drop items. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isEventRunning

method source
Game_Troop.prototype.isEventRunning()

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

isTpbTurnEnd

method source
Game_Troop.prototype.isTpbTurnEnd()

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

Actions

turnCount

method source
Game_Troop.prototype.turnCount()

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

clear

method source
Game_Troop.prototype.clear()

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

Updating & Drawing

updateInterpreter

method source
Game_Troop.prototype.updateInterpreter()

Updates the interpreter each frame. (Same as the RPG Maker MZ method of this name.)

updatePluralFlags

method source
Game_Troop.prototype.updatePluralFlags()

Updates the plural flags each frame. (Same as the RPG Maker MZ method of this name.)

Other

members

method source
Game_Troop.prototype.members()

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

troop

method source
Game_Troop.prototype.troop()

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

letterTable

method source
Game_Troop.prototype.letterTable()

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

enemyNames

method source
Game_Troop.prototype.enemyNames()

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

meetsConditions

method source
Game_Troop.prototype.meetsConditions(page)

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

increaseTurn

method source
Game_Troop.prototype.increaseTurn()

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

expTotal

method source
Game_Troop.prototype.expTotal()

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

goldTotal

method source
Game_Troop.prototype.goldTotal()

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

goldRate

method source
Game_Troop.prototype.goldRate()

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