sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(expanded description, added example/category)
m (template:command argument fix)
(One intermediate revision by one other user not shown)
Line 8: Line 8:


| 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]] |= Return value
| [[Side]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 19:
     [[hint]] "It's a logic!";
     [[hint]] "It's a logic!";
};
};
</code> |= Example 1
</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 35: 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]]

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