sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (Text replacement - "Side relations" to "Side Relations")
 
(42 intermediate revisions by 7 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


| The Logic side. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| [[Side]] <nowiki>=</nowiki> '''sideLogic''' |= Syntax
|game4= arma2
|version4= 1.00


| [[Side]] |= Return value
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| |= See also
|game6= tkoh
|version6= 1.00


}}
|game7= arma3
|version7= 0.50
 
|gr1= Sides
 
|descr= The Logic [[Side|side]]. Side of [[Game Logic]]s and [[Modules]].
 
|s1= [[sideLogic]]


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


<!-- Note Section END -->
|x1= <sqf>
</dl>
if (side _obj == sideLogic) then
{
hint "It is a logic!";
};
</sqf>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideUnknown]] [[sideFriendly]] [[sideEnemy]] [[playerSide]] [[Side Relations]]
[[Category:Scripting Commands|SIDELOGIC]]
}}
[[Category:Scripting Commands OFP 1.96|SIDELOGIC]]
[[Category:Scripting Commands ArmA|SIDELOGIC]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

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