34 — Comes near waypoint
Fires when the attached object is within five cells of the selected waypoint.
Editor data
- Numeric ID
34- Engine ID
TEVENT_NEAR_WAYPOINT- Editor name
- Comes near waypoint...
- Need token
NEED_WAYPOINT- Parameters
- Waypoint
waypoint
- Waypoint
- Attachment
- object
INI example
[Events]
<TriggerID>=1,34,0,<Waypoint>Behavior
Section titled “Behavior”An object carrying this trigger reports the proximity event during its normal update. The event resolves the chosen waypoint to a coordinate and succeeds when the object’s distance to it is no more than five cell widths.
The comparison is radial world distance, not a rectangular five-cell box. The event does not filter by house because the trigger’s object attachment already determines which object is being observed.
Valid values
- A valid scenario waypoint number.
Caveats
- This is an object-attached event; it evaluates the attached object rather than all objects on the map.
- The fixed proximity threshold is five cell widths.