BIS fnc friendlySides: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Sides |GROUP1= | |gr1 = Sides |GROUP1= | ||
| Returns sides allied to the given side / object. |DESCRIPTION= | | Returns sides allied to the given side / object. |DESCRIPTION= | ||
| toCheck call [[BIS_fnc_friendlySides]] |SYNTAX= | | toCheck call [[BIS_fnc_friendlySides]] |SYNTAX= | ||
Line 18: | Line 15: | ||
| [[Array]] of [[Side|Sides]] |RETURNVALUE= | | [[Array]] of [[Side|Sides]] |RETURNVALUE= | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_friendlySides]]; {{codecomment|// '''can''' return [FRIENDLY,WEST,GUER,CIV]}}</code> |EXAMPLE1= | |x1= <code>[[player]] [[call]] [[BIS_fnc_friendlySides]]; {{codecomment|// '''can''' return [FRIENDLY,WEST,GUER,CIV]}}</code> |EXAMPLE1= | ||
| [[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]] |SEEALSO= |
Revision as of 23:04, 16 January 2021
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 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