KnightHawk75 -> RE: Quick Turnaround Selector (6/25/2020 5:59:19 PM)
|
quote:
ORIGINAL: wqc12345 I'm not sure how the "Enable Quick Turnaround" check box gets selected for a given unit via Lua? I tried the following:m = ScenEdit_GetUnit({name='Kimberley #1',side='SA'})
ScenEdit_SetDoctrine({side=m.side, unitname=m.name}, {quick_turnaround_for_aircraft=0, ignore_plotted_course=true}) This does not result in the check box getting selected? Is this even possible in Lua? update> setting "2" does DISABLE the doctrine for Quick Turnaround, but 0/1 does not select the check-box. You want the box checked meaning you want the editable setting, you can access with the following: quick_turnaround_for_aircraft_player_editable= true | false
|
|
|
|