BIS fnc enemySides: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| a3 | | a3 | ||
|1.00 | |1.00 | ||
|gr1 = Sides | |gr1 = Sides | ||
|Returns sides hostile to the given [[Side|side]] / [[Object|object]]. | |Returns sides hostile to the given [[Side|side]] / [[Object|object]]. | ||
| input call [[BIS_fnc_enemySides]]; | | input call [[BIS_fnc_enemySides]]; | ||
|p1= input - [[Object]] or [[Side]] - Side or object whose hostile sides should be returned. | |p1= input - [[Object]] or [[Side]] - Side or object whose hostile sides should be returned. | ||
|[[Array]] containing all hostile sides of given side or object | |[[Array]] containing all hostile sides of given side or object | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_enemySides]];</code> | |x1= <code>[[player]] [[call]] [[BIS_fnc_enemySides]];</code> | ||
|[[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] | |[[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] | ||
}} | }} |
Revision as of 23:01, 17 January 2021
Description
Syntax
- Syntax:
- input call BIS_fnc_enemySides;
- Parameters:
- input - Object or Side - Side or object whose hostile sides should be returned.
- Return Value:
- Array containing all hostile sides of given side or object
Examples
- Example 1:
player call BIS_fnc_enemySides;
Additional Information
- See also:
- sidecountSideCfgVehicles config side valueSideplayerSidewesteastresistanceciviliansideLogicsideFriendlysideEnemysideUnknownsideEmptysideAmbientLifeSide relations
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
[[Category:Introduced with a3 version 1.00]][[ Category: a3: New Functions | BIS FNC ENEMYSIDES]][[ Category: a3: Functions | BIS FNC ENEMYSIDES]]