BIS fnc moduleRank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - " |exec= call " to " ")
Line 20: Line 20:


|x1= <code>[logic,<nowiki>[</nowiki>[[player]]]] [[call]] [[BIS_fnc_moduleRank]];</code>
|x1= <code>[logic,<nowiki>[</nowiki>[[player]]]] [[call]] [[BIS_fnc_moduleRank]];</code>
|exec= call


|seealso= [[Modules]]
|seealso= [[Modules]]
}}
}}

Revision as of 16:41, 6 February 2021

Hover & click on the images for description

Description

Description:
Used by the Set Rank module.
Execution:
call
Groups:
Modules

Syntax

Syntax:
[logic, units, activated] call BIS_fnc_moduleRank
Parameters:
logic: Object - Logic
units: Array - Units to set rank to
activated: Boolean - (Optional, default true) If false nothing will happen
Return Value:
Boolean - Always true

Examples

Example 1:
[logic,[player]] call BIS_fnc_moduleRank;

Additional Information

See also:
Modules

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note