Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
getFriend - OFPEC Scripting Command Reference | OFPEC The Editing Center

side1 getFriend side2

Operand types

side1: Side
side2: Side

Type of returned value

Description

Returns if sides are friendly or hostile.
For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.

Used In

Arma2

Example

value = west getFriend east

Advertisement