! a

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in 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 vica versa.

Syntax

Syntax:
Boolean = ! Boolean
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:
Behaviour unknown.
See also:
not, Operators

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!