! a

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Returns a negation of Boolean expression. That means true becomes false and vice versa.

Syntax

Syntax:
Boolean = ! a
Parameters:
a: Boolean
Return Value:
Boolean

Examples

Example 1:
The code _a = alive player; if (!_a) then { hint "The player is dead!"; } is the same as _a = alive player; if not (_a) then { hint "The player is dead!"; }

Additional Information

Multiplayer:
-
See also:
notOperators

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section