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.90
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint: Resistance
Version:
1.90

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

Multiplayer:
-
See also:
SidesidewesteastresistanceciviliansideUnknownsideFriendlysideEnemyplayerSideside locationSide relations

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section