BIS fnc moduleRank: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|x1= <code></code> |= " to "|x1= <code></code> |EXAMPLE1=") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.00 | |||
| | |gr1= Modules | ||
| | |descr= Used by the Set Rank module. | ||
| | |s1= [logic, units, activated] call [[BIS_fnc_moduleRank]] | ||
| | |p1= logic: [[Object]] - logic | ||
| | |p2= units: [[Array]] - units to set rank to | ||
| | |p3= activated: [[Boolean]] - (Optional, default [[true]]) if [[false]] nothing will happen | ||
| | |r1= [[Boolean]] - always [[true]] | ||
| | |x1= <sqf>[rankLogic, [player]] call BIS_fnc_moduleRank;</sqf> | ||
|seealso= [[Modules]] | |||
}} | }} | ||
Latest revision as of 12:40, 8 November 2023
Description
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:
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