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")
 
(37 intermediate revisions by 3 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|side]].
|game3= arma1
<br>Side of [[Game Logic]]s and [[Modules]]. |= Description
|version3= 1.00
____________________________________________________________________________________________


| '''sideLogic''' |= Syntax
|game4= arma2
|version4= 1.00


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


|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
|game6= tkoh
    [[hint]] "It's a logic!";
|version6= 1.00
};
 
</code> |= Example 1
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50
 
|gr1= Sides


| [[Side]], [[side]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideUnknown]], [[sideFriendly]], [[sideEnemy]], [[playerSide]], [[side location]], [[Side relations]] |= See also
|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.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SIDELOGIC]]
[[Category:Scripting Commands ArmA|SIDELOGIC]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Sides|{{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