sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Changed version)
m (template:command argument fix)
(9 intermediate revisions by 7 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| The Logic side. |= Description
| The Logic [[Side|side]].
<br>Side of [[Game Logic]]s and [[Modules]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''sideLogic''' |= Syntax
| '''sideLogic''' |SYNTAX=


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


| |= See also
|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
    [[hint]] "It's a logic!";
};
</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideUnknown]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[side location]], [[Side relations]] |SEEALSO=


}}
}}
Line 28: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SIDELOGIC]]
[[Category:Scripting Commands|SIDELOGIC]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SIDELOGIC]]
[[Category:Scripting Commands OFP 1.96|SIDELOGIC]]
[[Category:Scripting Commands ArmA|SIDELOGIC]]
[[Category:Scripting Commands ArmA|SIDELOGIC]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 2019

Hover & click on the images for description

Description

Description:
The Logic side.
Side of Game Logics and Modules.
Groups:
Uncategorised

Syntax

Syntax:
sideLogic
Return Value:
Side

Examples

Example 1:
if (side _obj == sideLogic) then { hint "It's a logic!"; };

Additional Information

See also:
SidesidewesteastresistanceciviliansideUnknownsideFriendlysideEnemyplayerSideside locationSide 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