or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 25: Line 25:
'''Example:'''
'''Example:'''


[[not]] [[alive]] [[player]] '''or''' [[not]] [[alive]] [[leader unit|leader]] [[player]]
[[if]] ([[not]] ([[canMove]] tank1) '''or''' [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}

Revision as of 17:07, 21 May 2006


a or b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a or b


Example:

if (not (canMove tank1) or not (canMove tank2)) then {hint "Our armour is being immobilsed!"}