Page 1 of 1

Event action on waypoints...

Posted: Mon Jul 06, 2026 12:54 am
by thewood1
in 1825, we got this new feature:

ADDED: You can now assign an event action to a waypoint.
- The unit can be obtained by the usual ScenEdit_UnitX().
- The waypoint action is a dropdown of the event actions.
- The triggering unit and WP IDs are passed as a local Lua table 'wpAction'. The full details can be accessed thru the SE functions using the unit (wpAction.unit) and wp (wpAction.wp) GUIDs.

Is there an example of this being used anywhere?

Also, is there a plan to update the lua CMO reference doc?

Re: Event action on waypoints...

Posted: Mon Aug 03, 2026 7:51 am
by blu3s
Just seeing this. The lua docs were updated, both for the add action function and the waypoint wrapper...


Image


Image