getFriend: Difference between revisions
Jump to navigation
Jump to search
(populated with empty template) |
(populated) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns if sides are friendly or hostile. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | 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> | |x1= <code>value <nowiki>=</nowiki> west getFriend east</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 13:47, 11 June 2009
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