BIS_fnc_sideIsEnemy

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.56
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.56

Description

Description:
Determines if side B is enemy to side A the way the game engine does it. The relationship table can be found here: Side relations.

Syntax

Syntax:
[sideA, sideB] call BIS_fnc_sideIsEnemy;
Parameters:
sideA: Side
sideB: Side
Return Value:
Boolean - True if side B is enemy to side A.

Examples

Example 1:
_isEnemy = [west, east] call BIS_fnc_sideIsEnemy; //Checks if EAST is enemy to WEST.

Additional Information

Execution:
call
Multiplayer:
-
See also:
getFriendsetFriendBIS_fnc_sideIsFriendlySide relations

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section