|
|
Line 1: |
Line 1: |
| __NOTOC__ __NOEDITSECTION__ {{DEFAULTSORT:{{uc:{{PAGENAME}}}}}}
| |
| [[Category:{{Name| ofp }}: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]<!--Automatically includes page in "New Scripting Commands List" category-->
| |
| {{#ifeq: {{Name| ofp }} | {{Name|arma3dev}} | [[Category:Introduced with Arma 3 Development Branch]] | }}<!--Includes every arma 3 dev command in one category as well as reg version subcategories-->
| |
| {{#ifeq: ofp | vbs1 | | [[Category:Scripting Commands]]}}<!--Excludes VBS commands from main command category-->
| |
| <div class="_description cmd"><!--
| |
| -->{{GVI| ofp |1.00|categorize}}<!--
| |
| -->{{#if:|{{GVI|{{{game2}}}|{{{version2}}}|categorize}}|}}<!-- These parameters were not
| |
| -->{{#if:|{{GVI|{{{game3}}}|{{{version3}}}|categorize}}|}}<!-- mentioned in the documentation
| |
| -->{{#if:|{{GVI|{{{game4}}}|{{{version4}}}|categorize}}|}}<!-- which was copy pasted
| |
| -->{{#if:|{{GVI|{{{game5}}}|{{{version5}}}|categorize}}|}}<!-- from the documentation for {{Command}}
| |
| --> <!--
| |
| -->{{#if:|{{EffArg|cmd|arg|{{{arg}}}|categorize}}|}}<!--
| |
| -->{{#if:|{{EffArg|cmd|eff|{{{eff}}}|categorize}}|}}<!--
| |
| -->{{#if:|{{ServerExec|cmd|exec|{{{exec}}}|categorize}}|}}<!-- Exec Param
| |
|
| |
|
| --><p style="color:#999;font-size:0.7em;margin-top:0">Click on the images for descriptions</p>
| |
|
| |
| <h3>Introduced in</h3>
| |
| <dl>
| |
| <dt>Game:</dt>
| |
| <dd>{{Name| ofp }}</dd>
| |
| <dt>Version:</dt>
| |
| <dd>1.00</dd>
| |
| </dl>
| |
|
| |
| <h3>Description</h3>
| |
| <dl>
| |
| <dt>Description:</dt>
| |
| <dd> Returns a negation of Boolean expression. That means <tt>[[true]]</tt> becomes <tt>[[false]]</tt> and vice versa. </dd>
| |
| </dl><!--
| |
|
| |
| -->{{#if: [[Boolean]] <nowiki>=</nowiki> '''!''' a |<h3>Syntax</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd> [[Boolean]] <nowiki>=</nowiki> '''!''' a </dd>|}}<!--
| |
|
| |
| -->{{#if:a: [[Boolean]]|
| |
| {{Command-param|a: [[Boolean]]|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p2}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p3}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p4}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p5}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p6}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p7}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p8}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p9}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p10}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p11}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p12}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p13}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p14}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p15}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p16}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p17}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p18}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p19}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p20}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if: [[Boolean]] <nowiki>=</nowiki> '''!''' a |
| |
| <dt>Return Value:</dt>
| |
| <dd> [[Boolean]] </dd>
| |
| </dl>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <h3>Alternative Syntax</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s2}}}</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| {{Command-param|{{{p21}}}|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p22}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p23}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p24}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p25}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p26}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p27}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p28}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p29}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p30}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p31}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p32}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p33}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p34}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p35}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p36}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p37}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p38}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p39}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p40}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Return Value:</dt>
| |
| <dd>None.</dd>
| |
| </dl>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <h3>Alternative Syntax 2</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s3}}}</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| {{Command-param|{{{p41}}}|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p42}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p43}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p44}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p45}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p46}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p47}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p48}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p49}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p50}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p51}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p52}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p53}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p54}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p55}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p56}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p57}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p58}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p59}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p60}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Return Value:</dt>
| |
| <dd>None.</dd>
| |
| </dl>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <h3>Alternative Syntax 3</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s4}}}</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| {{Command-param|{{{p61}}}|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p62}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p63}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p64}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p65}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p66}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p67}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p68}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p69}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p70}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p71}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p72}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p73}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p74}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p75}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p76}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p77}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p78}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p79}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p80}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Return Value:</dt>
| |
| <dd>None.</dd>
| |
| </dl>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <h3>Alternative Syntax 4</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s5}}}</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| {{Command-param|{{{p81}}}|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p82}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p83}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p84}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p85}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p86}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p87}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p88}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p89}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p90}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p91}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p92}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p93}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p94}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p95}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p96}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p97}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p98}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p99}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p100}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Return Value:</dt>
| |
| <dd>None.</dd>
| |
| </dl>|}}<!--
| |
|
| |
|
| |
| -->{{#if:|
| |
| <h3>Alternative Syntax 5</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s6}}}</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| {{Command-param|{{{p101}}}|<dt>Parameters:</dt>}}
| |
| {{#if:|{{Command-param|{{{p102}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p103}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p104}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p105}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p106}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p107}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p108}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p109}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p110}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p111}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p112}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p113}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p114}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p115}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p116}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p117}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p118}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p119}}}</dd>}}
| |
| {{#if:|{{Command-param|{{{p120}}}</dd>}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Return Value:</dt>
| |
| <dd>None.</dd>
| |
| </dl>|}}<!--
| |
|
| |
| -->{{#if: [[Boolean]] <nowiki>=</nowiki> '''!''' a |
| |
| <h3>Examples</h3>
| |
| <dl>|}}<!--
| |
|
| |
| -->{{#switch: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
| |
| |(example)
| |
| |<code></code>
| |
| |<code>
| |
| </code>
| |
| |<code>example</code>
| |
| |<code>(example)</code>
| |
| |<pre></pre>
| |
| |<pre>
| |
| </pre>
| |
| |<pre>example</pre>
| |
| |<pre>(example)</pre>=<dt>Example 1:</dt><dd>{{Example needed}}</dd>
| |
| |#default={{Command-example|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></dd>|<dt>Example 1:</dt>}}
| |
| {{#if:|{{Command-example|{{{x2}}}</dd>|<dt>Example 2:</dt>}}
| |
| {{#if:|{{Command-example|{{{x3}}}</dd>|<dt>Example 3:</dt>}}
| |
| {{#if:|{{Command-example|{{{x4}}}</dd>|<dt>Example 4:</dt>}}
| |
| {{#if:|{{Command-example|{{{x5}}}</dd>|<dt>Example 5:</dt>}}
| |
| {{#if:|{{Command-example|{{{x6}}}</dd>|<dt>Example 6:</dt>}}
| |
| {{#if:|{{Command-example|{{{x7}}}</dd>|<dt>Example 7:</dt>}}
| |
| {{#if:|{{Command-example|{{{x8}}}</dd>|<dt>Example 8:</dt>}}
| |
| {{#if:|{{Command-example|{{{x9}}}</dd>|<dt>Example 9:</dt>}}
| |
| {{#if:|{{Command-example|{{{x10}}}</dd>|<dt>Example 10:</dt>}}|}}|}}|}}|}}|}}|}}|}}|}}|}} }}<!--
| |
|
| |
| -->{{#if: [[Boolean]] <nowiki>=</nowiki> '''!''' a |</dl>
| |
| <h3>Additional Information</h3>
| |
| <dl>
| |
| <dt>Multiplayer:</dt>
| |
| <dd>-</dd>|}}<!--
| |
|
| |
| -->{{#if:|
| |
| <dt>Problems:</dt>
| |
| <dd>{{{pr}}}</dd>|}}
| |
| <dt>See also:</dt>
| |
| <dd class="seealso">{{busa}}{{#if: [[not]], [[Operators]] |{{#replace:{{#replace: [[not]], [[Operators]] |], [|][}}|],[|][}}|{{See also needed}}}}</dd><!--
| |
|
| |
| -->{{#if: [[Boolean]] <nowiki>=</nowiki> '''!''' a |</dl>|}}
| |
|
| |
| <h3>Notes</h3>
| |
| <div style="margin-top:-26px;text-align:center;"><i style="padding-left:55px;line-height:1.8em;"><span style="white-space:nowrap;font-weight:bold;">Only post proven facts here.</span> <span style="white-space:nowrap;">Report bugs on [http://feedback.arma3.com/ the feedback tracker].</span> <span style="white-space:nowrap;">Use the [[{{NAMESPACE}} talk:{{PAGENAME}}|talk page]] or the [https://forums.bohemia.net/ forums] for discussions.</span></i><br style="line-height:28px;"><span class="plainlinks">[{{canonicalurl:{{FULLPAGENAMEE}}|action=edit§ion{{=}}new&preload{{=}}Template:Add_new_note&preloadtitle{{=}}&summary{{=}}Added+new+note&nosummary{{=}}true}} Add New Note] <nowiki>|</nowiki> [[How To]]</span></div>
| |
| </div>
| |
|
| |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
|
| |
| <!-- Note Section END -->
| |
| </dl>
| |
|
| |
| <h3 style="display:none">Bottom Section</h3>
| |