a == b

From Bohemia Interactive Community
Revision as of 14:50, 14 August 2006 by Hoz (talk | contribs) (moved to template)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Check if valuea is equal to valueb.
Groups:
Uncategorised

Syntax

Syntax:
Boolean
Parameters:
valuea: Number, Group, Side, String, Object, Structured Text, Config, Display or Control
valueb: Number, Group, Side, String, Object, Structured Text, Config, Display or Control
Return Value:
Return value needed

Examples

Example 1:
if (player == leader group player) then {hint "You are the leader of your group."} else {hint "Someone else is the boss"}
Example 2:
if (name player == "Billy") then {hint "Hello Billy, how are you?"}

Additional Information

See also:
See also needed

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