BIS fnc enemySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "\|s1= +" to "|s1= ")
Line 8: Line 8:
|descr=Returns sides hostile to the given [[Side|side]] / [[Object|object]].
|descr=Returns sides hostile to the given [[Side|side]] / [[Object|object]].


|s1= 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.

Revision as of 16:31, 19 June 2021

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