BIS fnc friendlySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Sides|{{uc:friendlySides}}]]
 
[[Category:Functions|{{uc:friendlySides}}]]
[[Category:Functions|{{uc:friendlySides}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:friendlySides}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:friendlySides}}]]

Revision as of 12:30, 12 October 2020

Hover & click on the images for description

Description

Description:
Returns sides allied to the given side / object.
Execution:
call
Groups:
Sides

Syntax

Syntax:
toCheck call BIS_fnc_friendlySides
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:
CfgVehicles config side valueSideplayerSidewesteastresistanceciviliansideLogicsideFriendlysideEnemysideUnknownsideEmptysideAmbientLifeSide relationsBIS_fnc_sideIDBIS_fnc_objectSide

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