BIS fnc friendlySides: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(\[\[.+\]\]) \}\}$" to " |seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "Side relations" to "Side Relations") |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Sides | |gr1= Sides | ||
| Returns sides allied to the given side / object. | |descr= Returns sides allied to the given side / object. | ||
| toCheck call [[BIS_fnc_friendlySides]] | |s1= toCheck call [[BIS_fnc_friendlySides]] | ||
|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 | |r1= [[Array]] of [[Side]]s | ||
|x1= <sqf>player call BIS_fnc_friendlySides; // -can- return [FRIENDLY,WEST,GUER,CIV]</sqf> | |||
|seealso= [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]] | |seealso= [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]] [[Side]] [[playerSide]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideFriendly]] [[sideEnemy]] [[sideUnknown]] [[sideEmpty]] [[sideAmbientLife]] [[Side Relations]] [[BIS_fnc_sideID]] [[BIS_fnc_objectSide]] | ||
}} | }} |
Latest revision as of 20:02, 12 June 2023
Description
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:
Additional Information
- See also:
- CfgVehicles config side value Side playerSide west east resistance civilian sideLogic sideFriendly sideEnemy sideUnknown sideEmpty sideAmbientLife Side Relations BIS_fnc_sideID BIS_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