Erentar/Sandbox4 – User

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Tag: Blanking
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{User:Erentar/Sandbox2|= Comments
<!--____________________________________________________________________________________________-->


| ofp |= Game name
|1.00|= Game version
<!--____________________________________________________________________________________________-->
| Returns a negation of Boolean expression. That means <tt>[[true]]</tt> becomes <tt>[[false]]</tt> and vice versa.
<!--____________________________________________________________________________________________-->
| [[Boolean]] <nowiki>=</nowiki> '''!''' a
|p1= a: [[Boolean]]
| [[Boolean]]
<!--____________________________________________________________________________________________-->
|x1= The code
<code>_a = [[alive]] [[player]];
[[if]] ([[!_a]]) [[then]] {
    [[hint]] "The player is dead!";
}</code>
is the same as
<code>_a = [[alive]] [[player]];
[[if]] [[not]] (_a) [[then]] {
    [[hint]] "The player is dead!";
}</code> |= Example 1
<!--____________________________________________________________________________________________-->
| [[not]], [[Operators]] |= See also
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA2|#]]
[[Category:Scripting Commands Arma 3|#]]
[[Category:Command_Group:_Math|#]]
[[Category:Command_Group:_Variables|#]]

Latest revision as of 14:56, 28 October 2019