cmf_common_fnc_isRole

From cluster wiki
Revision as of 21:35, 17 December 2022 by Eric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
Is used to check if a unit is as specific role.
Execution:
Call
Groups:
CMF3: common
Syntax
Syntax:
[Unit, Role] call cmf_common_fnc_isRole
Parameters:
Unit: Object
Role: String
Return Value:
True if unit has role: Boolean
Examples
Example 1:
[player, "RFL"] call cmf_common_fnc_isRole
Additional Information
See also:
cmf_common_fnc_getConfigParam cmf_common_fnc_setCallsign cmf_common_fnc_setRole
Internal Variables
No internal variables
Events
No events
Notes