ScenEdit SetDoctrine
<syntaxhighlight lang="lua">
-- Long form doctrine
myDoctrine = {}
myDoctrine.use_nuclear_weapons= "yes"
myDoctrine.engage_non_hostile_targets = "yes"
myDoctrine.rtb_when_winchester = "yes"
myDoctrine.engaging_ambiguous_targets = "Ignore" myDoctrine.engaging_ambiguous_targets = "Optimistic" myDoctrine.engaging_ambiguous_targets = "Pessimistic"
myDoctrine.automatic_evasion = "yes"
myDoctrine.maintain_standoff = "yes"
myDoctrine.use_refuel_unrep = "Always" myDoctrine.use_refuel_unrep = "Never"
myDoctrine.engage_opportunity_targets = "yes"
myDoctrine.use_sams_in_anti_surface_mode = "yes"
myDoctrine.ignore_emcon_while_under_attack = "yes"
myDoctrine.quick_turnaround_for_aircraft = "Yes" myDoctrine.quick_turnaround_for_aircraft = "FightersAndASW" myDoctrine.quick_turnaround_for_aircraft = "No"
myDoctrine.air_operations_tempo = "Surge" myDoctrine.air_operations_tempo = "Sustained"
myDoctrine.kinematic_range_for_torpedoes = "AutomaticAndManualFire" myDoctrine.kinematic_range_for_torpedoes = "ManualFireOnly" myDoctrine.kinematic_range_for_torpedoes = "No"
ScenEdit_SetDoctrine({side="Soviet Union", unit = "Delta IV SSBN #4"}, myDoctrine) -- Long form doctrine end
--Short form (This affects an entire side)
ScenEdit_SetDoctrine({side="Soviet Union"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" })
ScenEdit_SetDoctrine({side="Soviet Union", mission="ASUW PATROL"}, {kinematic_range_for_torpedoes = "AutomaticAndManualFire",use_nuclear_weapons= "yes" })
</syntaxhighlight>