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

side1 setFriend [side2,value]

Operand types

side1: Side
[side2,value]: Array

Type of returned value

Description

Sets how friendly side1 is with side2.
For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.

Used In

ArmA

Example

west setFriend [east,1]

Advertisement