KnightHawk75
Posts: 1450
Joined: 11/15/2018 Status: offline
|
quote:
but is there a way to automatically change the ROE at a certain time so the frigate will engage? Time trigger either recurring check, or as mentioned at a specific time. Action: (handles either case) if ScenEdit_GetSidePosture('Blue','Red') == 'H' then --Side1's (blue) view of posture toward side2 (red)
--set at the unitlevel the ROE involved value, 1=tight, 0=free, 2=hold ,'inherit' to reset to inherited.
ScenEdit_SetDoctrine({side="Blue", unitname="TheUnitName" or guid="guidofunithere"}, {weapon_control_status_surface=1});
end
http://commandlua.github.io/#wrapper_Doctrine
< Message edited by KnightHawk75 -- 11/16/2021 1:27:22 AM >
|