sideFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
(Add example)
Line 1: Line 1:
{{Command|Comments=
{{Command
____________________________________________________________________________________________


| ofpr |Game name=
|game1= ofpr


|1.78|Game version=
|version1= 1.78
____________________________________________________________________________________________


| The Friendly side (used for captives). |DESCRIPTION=
|descr= The Friendly side - friendly to all, see [[Side relations]].
____________________________________________________________________________________________


| [[Side]] <nowiki>=</nowiki> '''sideFriendly''' |SYNTAX=


| [[Side]] |RETURNVALUE=
|s1= [[sideFriendly]]
____________________________________________________________________________________________


| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideUnknown]], [[sideEnemy]], [[playerSide]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] |SEEALSO=
|r1= [[Side]]


|x1= <code>[[if]] ([[side]] [[player]] == [[sideFriendly]]) [[then]] { [[hint]] "I feel friendly today!"; };</code>
|seealso= [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideUnknown]], [[sideEnemy]], [[playerSide]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]]
}}
}}


Line 28: Line 26:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|SIDEFRIENDLY]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SIDEFRIENDLY]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|SIDEFRIENDLY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 22:12, 4 January 2020

Hover & click on the images for description

Description

Description:
The Friendly side - friendly to all, see Side relations.
Groups:
Uncategorised

Syntax

Syntax:
sideFriendly
Return Value:
Side

Examples

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

Additional Information

See also:
SidesidewesteastresistanceciviliansideLogicsideUnknownsideEnemyplayerSidesideEmptysideAmbientLifeSide 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

Notes

Bottom Section