BIS fnc moduleRank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
Line 14: Line 14:
|p2= units: [[Array]] - units to set rank to
|p2= units: [[Array]] - units to set rank to


|p3= activated: [[Boolean]] - (Optional, default [[true]]) If [[false]] nothing will happen
|p3= activated: [[Boolean]] - (Optional, default [[true]]) if [[false]] nothing will happen


|r1= [[Boolean]] - Always [[true]]
|r1= [[Boolean]] - Always [[true]]


|x1= <sqf>[[logic,player]] call BIS_fnc_moduleRank;</sqf>
|x1= <sqf>[rankLogic, [player]] call BIS_fnc_moduleRank;</sqf>


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

Revision as of 13:42, 13 July 2022

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:
[rankLogic, [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