BIS fnc moduleRank: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 10: | Line 10: | ||
|s1= [logic, units, activated] call [[BIS_fnc_moduleRank]] | |s1= [logic, units, activated] call [[BIS_fnc_moduleRank]] | ||
|p1= logic: [[Object]] - | |p1= logic: [[Object]] - logic | ||
|p2= units: [[Array]] - | |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 | ||
Line 18: | Line 18: | ||
|r1= [[Boolean]] - Always [[true]] | |r1= [[Boolean]] - Always [[true]] | ||
|x1= < | |x1= <sqf>[[logic,player]] call BIS_fnc_moduleRank;</sqf> | ||
|seealso= [[Modules]] | |seealso= [[Modules]] | ||
}} | }} |
Revision as of 13:41, 13 July 2022
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