Jump to content

IsController

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: IsController
Function Description: Determines whether the supplied table represents a DCS controller.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.IsController( table Ctrlr )
Return Value:
Parameters: Name Description
CtrlrController Object
Example: local isCtrl = CMM.IsController(Group.getByName("AirTrafficControl"):getController())
Example Description: Returns true if the argument is a controller; otherwise false.
Related Functions:
Notes: