Difference between revisions of "side"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 5: Line 5:
 
'''Operand types:'''
 
'''Operand types:'''
  
unit: [[Object]] or [[Group]]
+
'''unit:''' [[Object]] or [[Group]]
  
 
'''Type of returned value:'''
 
'''Type of returned value:'''

Revision as of 12:42, 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."