TheOttoman -> Turning off Investigate contacts outside the patrol area (10/26/2019 3:47:34 PM)
|
I've created a mission mission=ScenEdit_AddMission("US Navy","Patrol Mission","patrol",{type="naval"}) mission.isactive=true mission=ScenEdit_SetMission("US Navy","Patrol Mission",{patrolzone={'NPGZ1','NPGZ2','NPGZ3','NPGZ4'}, prosecutionZone={'NPGZ1','NPGZ2','NPGZ3','NPGZ4'}, onethirdrule=false, onstation=1}) and I would like to turn off the Investigate contacts outside the patrol area checkbox, a boolean function. According to the commandlua documentation this setting is "checkOPA". I've tried to put checkOPA=false all throughout the ScenEdit_SetMission function, but no matter where I place it, I get an error: ')' expected near '='
|
|
|
|