friendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(36 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97]]
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#F|COMREF]]
|game1= ofp
|version1= 1.78


<h2 style="color:#000066">'''friendly'''</h2>
|gr1= Sides


|descr= Returns ''Friendly'' side which is friendly to all units.
{{Feature|warning|This command is not functional and appears to have be replaced by [[sideFriendly]].}}


'''Operand types:'''
|s1= [[friendly]]


None
|r1= [[Side]]


'''Type of returned value:'''
|x1= <sqs>?_side == friendly : hint "Hey buddy!"</sqs>


[[Side]]
|seealso= [[sideFriendly]]
 
}}
'''Compatibility:'''
 
Added in version '''1.78'''
 
'''Description:'''
 
Friendly side (friendly to all units).

Latest revision as of 15:31, 29 July 2022

Hover & click on the images for description

Description

Description:
Returns Friendly side which is friendly to all units.
This command is not functional and appears to have be replaced by sideFriendly.
Groups:
Sides

Syntax

Syntax:
friendly
Return Value:
Side

Examples

Example 1:
?_side == friendly : hint "Hey buddy!"

Additional Information

See also:
sideFriendly

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