LUA time trigger

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
orca
Posts: 545
Joined: Wed Nov 06, 2013 4:59 pm

LUA time trigger

Post by orca »

Not sure if the LUA forum or game feature request forum is the best location for this post but I will start here to see what others think....

I frequently have difficulties timing missions/strikes when creating a scenario. Until a possible future strike planner is available, some kind of LUA time trigger script may be helpful to plan strikes/missions. Would it be possible to create this either?

LUA timetrigger script:
is an action.
when this timetrigger script is triggered, a timer (length of time determined by the user) starts
when this timer ends then the script creates a new trigger that can be used to initiate an event (ie launch strike mission)

possible script variables: timer length, resulting new trigger name

There are several relatively clunky workarounds to accomplish this basic goal of timing, but I think a LUA script like this would be very helpful for scenario designers. I know little about LUA so not sure if this is even possible.
Post Reply

Return to “Lua Legion”