Rory Noonan
Posts: 2711
Joined: 12/18/2014 From: Brooklyn, NY Status: offline
|
Okay, what's happening here is that the artillery units are assigned to a mission that is inactive (which is treated as 'unassigned' until the mission is activated), and they're in range of a known enemy. Under the Weapons Free RoE for Land, they're automatically attacking nearby enemy land units. To get your desired behaviour, you'll need to find a way to have the artillery RoE as Hold until the designated attack time. I would do this using Lua. There's a few variations on how to achieve it but the simplest will be to have the mission active from the get-go, and change the mission RoE from Hold to Free for the barrage times. The relevant code to go weapons free would be: quote:
ScenEdit_SetDoctrine({side="Cuba", mission="Z- Leeward ARTY Strike"}, {weapon_control_status_land = 0}) To revert to weapons hold: quote:
ScenEdit_SetDoctrine({side="Cuba", mission="Z- Leeward ARTY Strike"}, {weapon_control_status_land = 2}) To get the timing right, use Time triggers. I've gone ahead and done this for you in the attached .scen file; the scen now behaves in the manner you desired--artillery barrage commences at 12:05 and ceases at 12:10. Cool scenario, by the way. Looking forward to playing it!
Attachment (1)
< Message edited by apache85 -- 2/21/2020 3:32:15 AM >
_____________________________
|