friendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Some wiki formatting)
 
Line 7: Line 7:


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


|s1= [[friendly]]
|s1= [[friendly]]
Line 13: Line 13:
|r1= [[Side]]
|r1= [[Side]]


|x1= <sqf>?_side == friendly: hint "Hey buddy!"</sqf>
|x1= <sqs>?_side == friendly : hint "Hey buddy!"</sqs>


|seealso= [[sideFriendly]]
|seealso= [[sideFriendly]]
}}
}}

Latest revision as of 14: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