Page 1 of 1

LUA time trigger

Posted: Wed Apr 08, 2020 9:32 pm
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.