BIS fnc enemySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| a3 |Game name=
| a3 |Game name=
Line 7: Line 6:


|gr1 = Sides |GROUP1=
|gr1 = Sides |GROUP1=
____________________________________________________________________________________________


|Returns sides hostile to the given [[Side|side]] / [[Object|object]].|DESCRIPTION=
|Returns sides hostile to the given [[Side|side]] / [[Object|object]].|DESCRIPTION=
____________________________________________________________________________________________


| input call [[BIS_fnc_enemySides]];|SYNTAX=
| input call [[BIS_fnc_enemySides]];|SYNTAX=
Line 17: Line 14:


|[[Array]] containing all hostile sides of given side or object|RETURNVALUE=
|[[Array]] containing all hostile sides of given side or object|RETURNVALUE=
____________________________________________________________________________________________


|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]]|SEEALSO=
|[[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 00:14, 17 January 2021

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.00|1.00]]
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:
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]]

Notes

Bottom Section