Difference between revisions of "sideLogic"

From Bohemia Interactive Community
Jump to navigation Jump to search
(expanded description, added example/category)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| The Logic side. |= Description
+
| The Logic [[Side|side]].
 +
<br>Side of [[Game Logic]]s and [[Modules]]. |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Side]] <nowiki>=</nowiki> '''sideLogic''' |= Syntax
+
| '''sideLogic''' |= Syntax
  
 
| [[Side]] |= Return value
 
| [[Side]] |= Return value
 +
____________________________________________________________________________________________
 +
 +
|x1= <code>[[if]] ([[side]] _obj == [[sideLogic]]) [[then]] {
 +
    [[hint]] "It's a logic!";
 +
};
 +
</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 33: Line 40:
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]]

Revision as of 15:39, 18 April 2014

Introduced with Operation Flashpoint: Resistance version 1.901.90
Hover & click on the images for descriptions

Description

Description:
The Logic side.
Side of Game Logics and Modules.

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

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section