setFriend: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets how friendly side1 is with side2. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | side1 '''setFriend''' [side2, value] |= Syntax | ||
|p1= side1: [[Side]] |= Parameter 1 | |||
|p2= [side2, value]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETFRIEND]] | |||
[[Category:Scripting Commands OFP Elite |SETFRIEND]] | |||
[[Category:Scripting Commands ArmA|SETFRIEND]] |
Revision as of 23:14, 1 August 2006
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:
- side1 setFriend [side2, value]
- Parameters:
- side1: Side
- [side2, value]: Array
- 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