Event action on waypoints...
Posted: Mon Jul 06, 2026 12:54 am
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?
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?