dcsext.ai.options
DCS AI options.
Contents
Functions
_t.create(optid, value)
Create an option task table.
Parameters
- optid
- the option ID, from AI.Option..id.
- value
- option appropriate value to set the option to
Returns
- table, dcsext.enum.TASKTYPE.OPTION
_t.createAirFormation(ftype, dist, side)
Constructs either a simple or advanced formation spec value which can then be used in Controller:setOption and dcsext friends to set the formation of an air group.
Parameters
- ftype
- formation type from dcsext.enum.FORMATION.TYPE
- dist
- (optional) distance enum from dcsext.enum.FORMATION.DISTANCE
- side
- (optional) side enum from dcsext.enum.FORMATION.SIDE
Returns
- table, dcsext.enum.TASKTYPE.OPTION
_t.wrappedOption(optiontbl)
Takes an options table from ai.options.create() and wraps the option so it is able to be stuck into an advanced waypoint task list.
Parameters
- optiontbl
- options table from dcsext.ai.options.create()
Returns
- table, dcsext.enum.TASKTYPE.TASK