BIS fnc friendlySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filled)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*


Description:
| Returns sides allied to the given side / object. |= Description
Returns sides allied to the given side / object
 
Parameter(s):
0: SIDE or OBJECT
 
Returns:
ARRAY of SIDEs
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_friendlySides]]; --> |= Syntax
| 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 02:28, 5 April 2018


Hover & click on the images for description

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

Notes

Bottom Section