friendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(31 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofpr |= Game name
|game1= ofp
|version1= 1.78


|1.78|= Game version
|gr1= Sides
____________________________________________________________________________________________


| |= Description
|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]].}}


| '''friendly''' |= Syntax
|s1= [[friendly]]


| |= Return value
|r1= [[Side]]
____________________________________________________________________________________________


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


|seealso= [[sideFriendly]]
}}
}}
<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|FRIENDLY]]
[[Category:Scripting Commands OFP 1.96|FRIENDLY]]
[[Category:Scripting Commands ArmA|FRIENDLY]]

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