BIS fnc enemySides: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Returns sides hostile to the given [[Side|side]] / [[Object|object]].|= | |Returns sides hostile to the given [[Side|side]] / [[Object|object]].|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| input call [[BIS_fnc_enemySides]];|= | | input call [[BIS_fnc_enemySides]];|SYNTAX= | ||
|p1= input - [[Object]] or [[Side]] - Side or object whose hostile sides should be returned.|= Parameter 1 | |p1= input - [[Object]] or [[Side]] - Side or object whose hostile sides should be returned.|= Parameter 1 | ||
|[[Array]] containing all hostile sides of given side or object|= | |[[Array]] containing all hostile sides of given side or object|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[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]]|SEEALSO= | ||
}} | }} |
Revision as of 11:28, 7 April 2019
Description
- Description:
- Returns sides hostile to the given side / object.
- Execution:
- call
- Groups:
- Uncategorised
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]]