benilla-re systems structs docs

CGGameObject_C::IsInteractable

function · objectlayer · orchestration

Address
0x5f8800 · 11 bytes, up to 0x5f880a
Meaning
Asks the handler whether the object is interactable
Confidence
verified, proof one
Finding
objectlayer/gameobjects#interactable-and-mouseover

Finding: Interactable and mouseover in objectlayer: game objects

The handler's slot 5 says whether the object can be interacted with at all; most types use one test. The active player must exist; the object's faction must not be hostile to it, except a trap, which must have a lock and be hostile, and whose creator, when a player present without unit flag 0x1000, refuses. Then GAMEOBJECT_FLAGS 0x1 or 0x10 refuses, as does a pending release, and flag 0x4 requires dynamic flag 0x1. Slot 3, the mouseover test, forwards to slot 5 except as gameobjecttypes lists.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.