Difference between revisions of "cmf common fnc isRole"
Jump to navigation
Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=Checks if a unit is the specified role. |exec=Call |cmp=common |s1=[Unit, Role] call cmf...") |
|||
Line 22: | Line 22: | ||
|x1= {{code|lang=scilab|[player, "RFL"] call cmf_common_fnc_isRole}} | |x1= {{code|lang=scilab|[player, "RFL"] call cmf_common_fnc_isRole}} | ||
}} | }} |
Revision as of 23:40, 11 November 2022
Description
- Description:
- Checks if a unit is the specified role.
- Execution:
- Call
- Groups:
- CMF3: common
Syntax
- Syntax:
- [Unit, Role] call cmf_common_fnc_isRole
- Parameters:
- Unit: Object
- Role: String
- Return Value:
- Is role: Boolean
Examples
- Example 1:
[player, "RFL"] call cmf_common_fnc_isRole
Additional Information
- See also:
- See also needed
Internal Variables
- No internal variables
Events
- No events
Notes