Familiar territory. Window_QuestTracker 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. |
Getting Information 1
| textCodes() | The variables (\V[n]) and actor names (\N[n]) the quest's name and objectives show: their values are part of… |
Actions 3
| resetFontSettings() | Resets the font settings. |
| applyStyle() | Applies the style. |
| placeFor() | Where the window sits for a height: its corner of the screen, clear of the edges. |
Other 7
| settings() | Settings. |
| lineHeight() | Line height. |
| wrap() | Wrap. |
| quest() | The quest the tracker follows, or null when there is nothing to show. |
| wantsShown() | Wants shown. |
| signature() | What the drawing depends on; compared every frame, so it stays a few numbers. |
| lines() | The lines to draw: the quest's name, then its open objectives before the finished ones, up to the project's l… |
Setup & Creation
initialize
method sourceWindow_QuestTracker.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Getting Information
textCodes
method sourceWindow_QuestTracker.prototype.textCodes(quest)
The variables (\V[n]) and actor names (\N[n]) the quest's name and objectives show: their values are part of what the tracker draws, and no quest change happens when only they change.
Actions
resetFontSettings
method sourceWindow_QuestTracker.prototype.resetFontSettings()
Resets the font settings. (Same as the RPG Maker MZ method of this name.)
applyStyle
method sourceWindow_QuestTracker.prototype.applyStyle()
Applies the style. (Same as the RPG Maker MZ method of this name.)
placeFor
method sourceWindow_QuestTracker.prototype.placeFor(height)
Where the window sits for a height: its corner of the screen, clear of the edges.
Updating & Drawing
refresh
method sourceWindow_QuestTracker.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)
update
method sourceWindow_QuestTracker.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
Other
settings
method sourceWindow_QuestTracker.prototype.settings()
Settings. (Same as the RPG Maker MZ method of this name.)
lineHeight
method sourceWindow_QuestTracker.prototype.lineHeight()
Line height. (Same as the RPG Maker MZ method of this name.)
wrap
method sourceWindow_QuestTracker.prototype.wrap(text, width)
Wrap. (Same as the RPG Maker MZ method of this name.)
quest
method sourceWindow_QuestTracker.prototype.quest()
The quest the tracker follows, or null when there is nothing to show.
wantsShown
method sourceWindow_QuestTracker.prototype.wantsShown()
Wants shown. (Same as the RPG Maker MZ method of this name.)
signature
method sourceWindow_QuestTracker.prototype.signature()
What the drawing depends on; compared every frame, so it stays a few numbers.
lines
method sourceWindow_QuestTracker.prototype.lines(quest, width)
The lines to draw: the quest's name, then its open objectives before the finished ones, up to the project's limit, each wrapped to the width.