a == b

From Bohemia Interactive Community
Revision as of 17:34, 15 April 2006 by Bedges (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

valuea==valueb

Operand types:

valuea: Number, Group, Side, String or Object

valueb: Number, Group, Side, String or Object

Type of returned value:

Boolean

Description:

check if valuea is equal to valueb


Example:

? (player == (leader group player)):hint "You are the leader of your group."

? (name player == "Billy"):hint "Hello Billy, how are you?"