Difference between revisions of "side"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 1: Line 1:
 
back to [[Scripting_Reference#S|COMREF]]
 
back to [[Scripting_Reference#S|COMREF]]
  
<h2 style="color:#000066">'''side ''''unit''</h2>
+
<h2 style="color:#000066">'''side ''unit'''''</h2>
  
 
'''Operand types:'''
 
'''Operand types:'''

Revision as of 12:47, 17 April 2006

back to COMREF

side unit

Operand types:

unit: Object or Group

Type of returned value:

Side

Description:

Side of unit.

Note: This does not change the side of the unit.


Example:

? (side player == west) : hint "You are on the West side."