BIS fnc enemySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "Side relations" to "Side Relations")
 
(12 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 hostile to the given [[Side|side]] / [[Object|object]].
|descr= Returns sides hostile to the given [[Side|side]] / [[Object|object]].


| input call [[BIS_fnc_enemySides]];
|s1= 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
|r1= [[Array]] containing all hostile sides of given side or object


|x1= <code>[[player]] [[call]] [[BIS_fnc_enemySides]];</code>
|x1= <sqf>player call BIS_fnc_enemySides;</sqf>


|[[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= [[side]] [[countSide]] {{Link|CfgVehicles Config Reference#side}} [[Side]] [[playerSide]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideFriendly]] [[sideEnemy]] [[sideUnknown]] [[sideEmpty]] [[sideAmbientLife]] [[Side Relations]]
}}
}}

Latest revision as of 20:02, 12 June 2023

Hover & click on the images for description

Description

Description:
Returns sides hostile to the given side / object.
Execution:
call
Groups:
Sides

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:
side countSide CfgVehicles Config Reference - side Side playerSide west east resistance civilian sideLogic sideFriendly sideEnemy sideUnknown sideEmpty sideAmbientLife Side 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