getFriend: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated with empty template)
(populated)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| (description) |= Description
| Returns if sides are friendly or hostile. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''(command)''' |= Syntax
| side1 '''getFriend''' side2 |= Syntax


|p1= |= PARAMETER1  
|p1= side1: [[Side]] |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= side2: [[Side]] |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= |= PARAMETER3  
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>value <nowiki>=</nowiki> west getFriend east</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 13:47, 11 June 2009

Hover & click on the images for description

Description

Description:
Returns if sides are friendly or hostile. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.
Groups:
Uncategorised

Syntax

Syntax:
side1 getFriend side2
Parameters:
side1: Side
side2: Side
Return Value:
Return value needed

Examples

Example 1:
value = west getFriend east

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

Bottom Section