friendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (Some wiki formatting)
 
(24 intermediate revisions by 6 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
____________________________________________________________________________________________


|Friendly side (friendly to all units). |= 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]].}}


| [[Side]] <nowiki>=</nowiki> '''friendly''' |= Syntax
|s1= [[friendly]]


| [[Side]] |= 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 -->
No work in Armed Assault
<!-- 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]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]

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