From Bohemia Interactive Community
|
|
Line 23: |
Line 23: |
| '''Description:''' | | '''Description:''' |
|
| |
|
| Sets how friendly side1 is with side2. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly. | | Sets how friendly side1 is with side2. |
|
| |
|
| '''Example:''' | | For a value smaller than 0.6 it results in being enemy, otherwise it's friendly. |
Revision as of 21:15, 4 July 2006
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.