BIS fnc enemySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filling)
Line 3: Line 3:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| a3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Returns sides hostile to the given [[Side|side]] / [[Object|object]].|= Description
 
Description:
Returns sides enemy to the given side / object
 
Parameter(s):
0: SIDE or OBJECT
 
Returns:
ARRAY of SIDEs
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_enemySides]]; --> |= Syntax
| input call [[BIS_fnc_enemySides]];|= Syntax


|p1= |= Parameter 1
|p1= input - [[Object]] or [[Side]] - Side or object whose hostile sides should be returned.|= Parameter 1


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


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


| |= See also
|[[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]]|= See also


}}
}}

Revision as of 10:00, 10 May 2018


-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:
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]]

Notes

Bottom Section