! a: Difference between revisions
Jump to navigation
Jump to search
(added example) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''! | | '''!''' a |= Syntax | ||
|p1= a: [[Boolean]] |= Parameter 1 | |p1= a: [[Boolean]] |= Parameter 1 | ||
Line 19: | Line 19: | ||
|x1= The code | |x1= The code | ||
_a <nowiki>=</nowiki> [[alive]] [[player]]; | |||
[[if]](! | [[if]](!_a) [[then]] | ||
{ | { | ||
[[hint]] "The player is dead!"; | [[hint]] "The player is dead!"; | ||
Line 28: | Line 28: | ||
is the same as | is the same as | ||
_a <nowiki>=</nowiki> [[alive]] [[player]]; | |||
if not ( | |||
if not (_a) then | |||
{ | { | ||
[[hint]] "The player is dead!"; | [[hint]] "The player is dead!"; |
Revision as of 09:23, 12 December 2006
Description
- Description:
- not a
- Groups:
- Uncategorised
Syntax
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
- See also:
- not
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