DWReese
Posts: 1824
Joined: 3/21/2014 From: Miami, Florida Status: offline
|
SeaQueen (and ExNusquam) Thanks for your help. Using your help, I was able to do exactly what I had requested. Now, I would like to add another step (or two) to the process. 1. When I send the Escorts to the marshaling area, I would like to have a tanker waiting for them. When the Escorts arrive, I would like to give them a Lua order, this would have the Escorts refuel. I see a Refuel Order among the possible lists, but it has the follow "(table)" following the script. I don't know what that means. Can you recommend another scenario that uses a Lua script to order planes to refuel so that I can visually see how this is done? 2. Final step. After my bombing attack is complete, the AI gives my planes a RTB order, as it should. Unfortunately, the planes make a beeline home, and fly directly OVER many SAM sites that now see them. Playing manually, I can guide my planes to the south, away from the SAMs, and then head home, without being attacked. So, using TIME as my trigger, is it possible to give the planes yet another order to use a Lua script to fly south for about five minutes, or so (to avoid the SAMs), before giving them a final order, this one a RTB order? I realize that this is quite a bit of scripting, but Lua does make units much more controllable, and thus, it is much more realistic. For scenario design it is a must. Thanks in advance. Doug
|