|
KnightHawk75 -> RE: Timed Attack (11/16/2021 1:22:08 AM)
|
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
|
|
|
|