setFriend

From Bohemia Interactive Community
Revision as of 13:10, 3 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


side1 setFriend [side2, value]


Operand types:

side1: Side

[side2, value]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

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

Example: