BIS fnc friendlySides: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(.*)\{\{codecomment *\| *([^ ]*) *\}\}(.*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Array]] of [[Side|Sides]] | |r1= [[Array]] of [[Side|Sides]] | ||
|x1= <code>player call BIS_fnc_friendlySides; | |x1= <code>player call BIS_fnc_friendlySides; // '''can''' return [FRIENDLY,WEST,GUER,CIV]</code> | ||
|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]] | |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]] | ||
}} | }} |
Revision as of 23:04, 12 July 2022
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:
player call BIS_fnc_friendlySides; // can return [FRIENDLY,WEST,GUER,CIV]
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