setFriend: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(bugg?)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| side1 '''setFriend''' [side2, value] |= Syntax
| ThisSide '''setFriend''' [OtherSide , Friendliness] |= Syntax


|p1= side1: [[Side]] |= Parameter 1
|p1= ThisSide, OtherSide: [[Side]]
 
|p2= Friendliness: [[Number]]  
|p2= [side2, value]: [[Array]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 01:39, 31 August 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

Syntax:
ThisSide setFriend [OtherSide , Friendliness]
Parameters:
ThisSide, OtherSide: Side
Friendliness: Number
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

  • Might be buggy (or the description regarding enemy status is wrong). See this discussion.

Bottom Section