BIS fnc getFactions: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
||
Line 42: | Line 42: | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:getFactions}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:getFactions}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:getFactions}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:getFactions}}]] | ||
Revision as of 02:17, 2 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Sides
Syntax
- Syntax:
- Syntax needed
- Parameters:
- parameter:
- Return Value:
- Return value needed
Examples
- Example 1:
call BIS_fnc_getFactions; // returns all factions
- Example 2:
[] call BIS_fnc_getFactions; // same as Example 1
- Example 3:
[player] call BIS_fnc_getFactions; // returns index of player's faction
- Example 4:
["BLU_F"] call BIS_fnc_getFactions; // returns index of given faction
- Example 5:
[[]] call BIS_fnc_getFactions; // will return all faction sides
- Example 6:
[[player]] call BIS_fnc_getFactions; // will return player's side
Additional Information
- See also:
- See also needed
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