BIS fnc friendlySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(\[\[.+\]\]) \}\}$" to " |seealso= $1 }}")
m (Text replacement - " \|(.+\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|p1= toCheck - [[Side]] or [[Object]]: Side or object whose friendly sides should be returned
|p1= toCheck - [[Side]] or [[Object]]: Side or object whose friendly sides should be returned


| [[Array]] of [[Side|Sides]]
|r1= [[Array]] of [[Side|Sides]]


|x1= <code>[[player]] [[call]] [[BIS_fnc_friendlySides]]; {{codecomment|// '''can''' return [FRIENDLY,WEST,GUER,CIV]}}</code>
|x1= <code>[[player]] [[call]] [[BIS_fnc_friendlySides]]; {{codecomment|// '''can''' return [FRIENDLY,WEST,GUER,CIV]}}</code>

Revision as of 19:01, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Sides

Syntax

Syntax:
Syntax needed
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