Difference between revisions of "DCS func getController"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
(No difference)
|
m (1 revision imported) |
(No difference)
|
Envrioment: | Mission Scripting | ||
Function: | getController | Added with: 1.2.0 | |
Member Of: | Group, Unit | ||
Syntax: | Controller Group.getController(Class Self ) | ||
Description: | Returns the controller of the specified object.
Ships and ground units can only be controlled at a group level. Airplanes and helicopters can be controlled at both a group and unit level.
| ||
Return Value: | Controller | ||
Return Example: | |||
Examples: | |||
Related Functions: | Unit Functions: isActive, getPlayerName, getID, getNumber, getCategoryEx, getObjectID, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission, getDescentCapacity
Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir | ||
Notes: |