sideFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Side relations" to "Side Relations")
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.78|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| The Friendly side (used for captives). |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| [[Side]] <nowiki>=</nowiki> '''sideFriendly''' |= Syntax
|game4= arma2
|version4= 1.00


| [[Side]] |= Return value
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideUnknown]], [[sideEnemy]], [[playerSide]], [[side location]], [[Side relations]] |= See also
|game6= tkoh
|version6= 1.00


}}
|game7= arma3
|version7= 0.50
 
|gr1= Sides
 
|descr= The Friendly side - friendly to all, see [[Side Relations]].


<h3 style="display:none">Notes</h3>
|s1= [[sideFriendly]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Side]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>if (side player == sideFriendly) then { hint "I feel friendly today!"; };</sqf>


[[Category:Scripting Commands|SIDEFRIENDLY]]
|seealso= [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideUnknown]] [[sideEnemy]] [[playerSide]] [[sideEmpty]] [[sideAmbientLife]] [[Side Relations]]
[[Category:Scripting Commands OFP 1.96|SIDEFRIENDLY]]
}}
[[Category:Scripting Commands ArmA|SIDEFRIENDLY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:02, 12 June 2023

Hover & click on the images for description

Description

Description:
The Friendly side - friendly to all, see Side Relations.
Groups:
Sides

Syntax

Syntax:
sideFriendly
Return Value:
Side

Examples

Example 1:
if (side player == sideFriendly) then { hint "I feel friendly today!"; };

Additional Information

See also:
Side side west east resistance civilian sideLogic sideUnknown sideEnemy playerSide sideEmpty sideAmbientLife Side Relations

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