Skip to reading
Action Lists & Events

Local world events: quick reference

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

Objects, triggers and interactive regions use local responses. In scene entity records, volume/pointer actions live in the trigger event data; adventure verbs live in hotspot.verbs. The inspector presents those as separate tabs.

Source table from Local world events: quick reference, page 173
Stored local keyVisible meaningTypical use
onEnterPlayer Collision / EntryStart a guarded greeting when the active player enters.
onExitPlayer ExitRemove a temporary local effect after walking out.
onClickLeft clickRun a special direct pointer response.
onDoubleClickLeft double clickA deliberate alternate pointer response; account for the first click.
onRightClickRight clickInspect or cancel, according to your control design.
onDoubleRightClickRight double clickAn optional alternate right-pointer response.
onHoverPointer enters/hoversLightweight presentation or a short contextual update.
onHoverExitPointer leavesClear a temporary hover presentation.

Legacy onCollide data can supply entry work when the newer onEnter list is empty. For new work, use the named entry/exit lists shown by the inspector rather than building two overlapping versions of the same collision response.

The runtime guards overlapping execution of an entity's same local event while it is running. Later events can still run again. Important one-time behavior needs a completion flag that is part of the saved game state.

A visible region effect and an interactive region are not automatically the same thing. Enable/configure the region's interaction behavior and overlap/click setup before expecting its events to run. These volume events are not a general notification for every physical object collision.

Page 173 of 189Permalink
Go to page