sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 7: Line 6:


|gr1= Sides |GROUP1=
|gr1= Sides |GROUP1=
____________________________________________________________________________________________


| 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]]. |DESCRIPTION=
____________________________________________________________________________________________


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


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


|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
Line 22: Line 18:
};
};
</code> |EXAMPLE1=
</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[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]] |SEEALSO=

Revision as of 03:58, 17 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

Notes

Bottom Section