Warning: file_put_contents(/ff_51e8595449eb2feba56b278ef6058e0a7c6bd4c14062f7f5.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