sideLogic: Difference between revisions

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

Hover & click on the images for description

Description

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

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

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

Notes

Bottom Section