DCS func setCommand
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | setCommand | Added with: 1.2.4 | |
Member Of: | Controller | ||
Syntax: | function Controller.setCommand(Class self , table command ) | ||
Description: | Commands are instant actions that require zero time to perform. Commands may be used both for control unit/group behavior and control game mechanics. Setting a command will have no impact on active tasking.
Reference the following pages for details on each command: script, setCallsign, setFrequency, setFrequencyForUnit, switchWaypoint, stopRoute, switchAction, setInvisible, setImmortal, setUnlimitedFuel, activateBeacon, deactivateBeacon, activateICLS, deactivateICLS, eplrs, start, transmitMessage, stopTransmission, smoke_on_off, ActivateLink4, deactivateLink4, activateACLS, deactivateACLS, LoadingShip
| ||
Return Value: | function | ||
Return Example: | none | ||
Examples: | |||
Related Functions: | Controller: setTask, resetTask, pushTask, popTask, hasTask, setCommand, setOption, setOnOff, setAltitude, setSpeed, knowTarget, isTargetDetected, getDetectedTargets | ||
Notes: |