sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "Side relations" to "Side Relations")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| ofpr |Game name=
|game1= ofp
|version1= 1.90


|1.90|Game version=
|game2= ofpe
|version2= 1.00


|gr1= Sides |GROUP1=
|game3= arma1
|version3= 1.00


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


| '''sideLogic''' |SYNTAX=
|game5= arma2oa
|version5= 1.50


| [[Side]] |RETURNVALUE=
|game6= tkoh
|version6= 1.00


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


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


}}
|descr= The Logic [[Side|side]]. Side of [[Game Logic]]s and [[Modules]].


<h3 style="display:none">Notes</h3>
|s1= [[sideLogic]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Side]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>
[[Category:Scripting Commands|SIDELOGIC]]
if (side _obj == sideLogic) then
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
{
[[Category:Scripting Commands OFP 1.96|SIDELOGIC]]
hint "It is a logic!";
{{GameCategory|arma1|Scripting Commands}}
};
{{GameCategory|arma2|Scripting Commands}}
</sqf>
{{GameCategory|arma3|Scripting Commands}}
 
{{GameCategory|tkoh|Scripting Commands}}
|seealso= [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideUnknown]] [[sideFriendly]] [[sideEnemy]] [[playerSide]] [[Side Relations]]
}}

Latest revision as of 20:02, 12 June 2023

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 is a logic!"; };

Additional Information

See also:
Side side west east resistance civilian sideUnknown sideFriendly sideEnemy playerSide Side 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