Namespace in reactor_objects_followers.js
Game_Follower
15 public functions in 5 groups · show internal (_) functions
Familiar territory. Game_Follower 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
| canPass() | A follower left past the border by a crossing steps back toward the map, over the ground the leader came by. |
| isCollidedWithCharacters() | A follower walking to its place beside the trail goes round the other members; one trailing the leader is wal… |
| isVisible() | Such a follower is not seen, whatever the party shows. |
| isTransparent() | A 3D model has no sheet to take away: a hidden follower is not drawn. |
Actions 2
| moveStraight() | A follower told to stay takes no step, whoever asks (the ladder its leader climbed, a walk back after a battl… |
| moveDiagonally() | Move diagonally. |
Updating & Drawing 1
| update() | Update. |
Other 7
| reactorWalkStep() | Reactor walk step. |
| reactorWalkAllows() | A walk's step for a follower: as a body nothing is walked through, and never off a roof. |
| rrGroundAllowsToward() | Whether the ground lets a follower step toward a tile beside it, whoever stands there: both ways of a diagona… |
| rrAllowsDiagonal() | Rr allows diagonal. |
| rrIsHeld() | Whether a follower is on its own: it does not trail the leader. |
| rrEndRoute() | Rr end route. |
| chaseCharacter() | Chase character. |
Setup & Creation
initialize
method sourceGame_Follower.prototype.initialize(memberIndex)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
canPass
method sourceGame_Follower.prototype.canPass(x, y, d)
A follower left past the border by a crossing steps back toward the map, over the ground the leader came by.
isCollidedWithCharacters
method sourceGame_Follower.prototype.isCollidedWithCharacters(x, y)
A follower walking to its place beside the trail goes round the other members; one trailing the leader is walked through and never asks.
Details
A follower walking to its place beside the trail goes round the other members; one trailing the leader is walked through and never asks. One on a route steps through the party as a follower always has: no member can refuse a step of its route, so the route and the event that waits for it are never held up by the line it stepped out of. One sent to a tile or called back steps through the members that follow (they may stand all round it) and goes round the leader and whoever stays put.
isVisible
method sourceGame_Follower.prototype.isVisible()
Such a follower is not seen, whatever the party shows.
isTransparent
method sourceGame_Follower.prototype.isTransparent()
A 3D model has no sheet to take away: a hidden follower is not drawn.
Actions
moveStraight
method sourceGame_Follower.prototype.moveStraight(d)
A follower told to stay takes no step, whoever asks (the ladder its leader climbed, a walk back after a battle).
moveDiagonally
method sourceGame_Follower.prototype.moveDiagonally(horz, vert)
Move diagonally. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceGame_Follower.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
Other
reactorWalkStep
method sourceGame_Follower.prototype.reactorWalkStep(x, y, d, height)
Reactor walk step. (Same as the RPG Maker MZ method of this name.)
reactorWalkAllows
method sourceGame_Follower.prototype.reactorWalkAllows(x, y, d)
A walk's step for a follower: as a body nothing is walked through, and never off a roof.
rrGroundAllowsToward
method sourceGame_Follower.prototype.rrGroundAllowsToward(x, y)
Whether the ground lets a follower step toward a tile beside it, whoever stands there: both ways of a diagonal.
rrAllowsDiagonal
method sourceGame_Follower.prototype.rrAllowsDiagonal(horz, vert)
Rr allows diagonal. (Same as the RPG Maker MZ method of this name.)
rrIsHeld
method sourceGame_Follower.prototype.rrIsHeld()
Whether a follower is on its own: it does not trail the leader.
rrEndRoute
method sourceGame_Follower.prototype.rrEndRoute()
Rr end route. (Same as the RPG Maker MZ method of this name.)
chaseCharacter
method sourceGame_Follower.prototype.chaseCharacter(character)
Chase character. (Same as the RPG Maker MZ method of this name.)