Event filters and caller context
Earlier edition reference / Current 0.86.4.0 property paths > p. 329
| PCA header | Filter |
|---|---|
| when player enters lab | Room-load hook filtered to lab; also available as when room lab loads. |
| when player talks to elias | Interaction hook, target character elias and talk verb. |
| when player interacts using look | Interaction hook filtered to look. |
| when player uses key on archive_door | Interaction hook filtered by item, target and use verb. |
| when event signal_powered | Exact custom event name; inspect the body’s event data for finer filters. |
An interaction event observes a hook; it does not automatically replace the object’s authored interaction response. Do not put a reward both in the response and an unguarded broad listener. Trigger enter/exit reports overlap, not every possible scene collision.
A GUI script caller can provide guiId, elementId and the GUI event name. Parser calls can provide command, cleanedCommand and customCommand. A function invoked manually may have none of these keys. Use a small diagnostic test to see the actual payload before depending on it.
