BIS fnc friendlySides: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(page filled) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns sides allied to the given side / object. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | toCheck call [[BIS_fnc_sortAlphabetically]] |= Syntax | ||
|p1= |= Parameter 1 | |p1= toCheck - [[Side]] or [[Object]]: Side or object whose friendly sides should be returned |= Parameter 1 | ||
| |= Return value | | [[Array]] of [[Side|Sides]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[[player]] [[call]] [[BIS_fnc_friendlySides]]; {{codecomment|// '''can''' return [FRIENDLY,WEST,GUER,CIV]}}</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 01:28, 5 April 2018
Description
- Description:
- Returns sides allied to the given side / object.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- toCheck call BIS_fnc_sortAlphabetically
- Parameters:
- toCheck - Side or Object: Side or object whose friendly sides should be returned
- Return Value:
- Array of Sides
Examples
- Example 1:
player call BIS_fnc_friendlySides; // can return [FRIENDLY,WEST,GUER,CIV]
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