sideLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "Side relations" to "Side Relations")
 
(49 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SIDELOGIC]]
{{RV|type=command
[[Category:Scripting Commands ArmA|SIDELOGIC]]


|game1= ofp
|version1= 1.90


<h2 style="color:#000066">''' sideLogic '''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


None
|game5= arma2oa
|version5= 1.50


'''Type of returned value:'''
|game6= tkoh
|version6= 1.00


[[Side]]
|game7= arma3
|version7= 0.50


'''Compatibility:'''
|gr1= Sides


Version 1.86 required.
|descr= The Logic [[Side|side]]. Side of [[Game Logic]]s and [[Modules]].


'''Description:'''
|s1= [[sideLogic]]


The Logic side.
|r1= [[Side]]
 
|x1= <sqf>
if (side _obj == sideLogic) then
{
hint "It is a logic!";
};
</sqf>
 
|seealso= [[Side]] [[side]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideUnknown]] [[sideFriendly]] [[sideEnemy]] [[playerSide]] [[Side Relations]]
}}

Latest revision as of 21: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