sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.90|Game version=
|1.90


|gr1= Sides |GROUP1=
|gr1= Sides


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


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


| [[Side]] |RETURNVALUE=
| [[Side]]


|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
     [[hint]] "It's a logic!";
     [[hint]] "It's a logic!";
};
};
</code> |EXAMPLE1=
</code>


| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideUnknown]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[side location]], [[Side relations]] |SEEALSO=
| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideUnknown]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[side location]], [[Side relations]]


}}
}}

Revision as of 12:25, 18 January 2021

Hover & click on the images for description

Description

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

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