CGUnit_C::OnNPCFlagsChanged
function · objectlayer · primitive
- Address
0x60b420· 322 bytes, up to0x60b561- Meaning
- Closes the window an NPC served when it loses that flag; refreshes the marker for quest and flight flags
- Confidence
- verified, proof one
- Finding
- objectlayer/unitnames#quest-markers
Finding: Quest markers in objectlayer: unit names and markers
0x607380 clears the marker and, for a unit whose reaction toward the active player is above
hostile, asks the player side about it: a quest giver (NPC flag 0x2) and a flight master (0x8).
A quest giver's status reaches 0x607440(status), which maps it to a marker model hung over the
head, playing animation 190 while the name shows. Losing an NPC flag closes the window that NPC
holds open.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnNPCFlagsFieldChanged objectlayer
Callees 6
- SetTrainer ui
- CloseTaxiMap ui
- SetGossipTarget ui
- SetBankInteraction ui
- ReportQuestDeclined ui
- CGUnit_C::RefreshQuestGiverStatus objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.