setFriend: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''Description:'''
'''Description:'''


Sets how friendly side1 is with side2.
Sets how friendly '''side1''' is with '''side2'''.


For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.
For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.

Revision as of 21:16, 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.