BIS fnc enemySides: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(\[\[.+\]\]) \}\}$" to " |seealso= $1 }}")
m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|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= <code>[[player]] [[call]] [[BIS_fnc_enemySides]];</code>

Revision as of 18:17, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Sides

Syntax

Syntax:
Syntax needed
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