Event action on waypoints...

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
thewood1
Posts: 10356
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Event action on waypoints...

Post 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?
Post Reply

Return to “Lua Legion”