|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <noinclude>{{Important | This page is an attempt to refresh the [[Template:Command|Command]] template, do not empty it even if this page is listed in commands categories!}}</noinclude><includeonly>
| | To be removed; kept for Command history [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 20:01, 25 December 2019 (CET) |
| __NOTOC__
| |
| __NOEDITSECTION__
| |
| {{DEFAULTSORT:{{uc:{{PAGENAME}}}}}}
| |
| [[Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]<!-- Automatically includes page in "New Scripting Commands List" category --> | |
| {{#ifeq: {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} | {{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: {{{game|{{{game1|{{{1}}}}}}}}} | vbs1 | | [[Category:Scripting Commands]]}}<!-- Excludes VBS commands from main command category -->
| |
| <div class="_description cmd"><!--
| |
|
| |
|
| -->{{GVI|{{{game|{{{game1|{{{1}}}}}}}}}|{{{version|{{{2}}}}}}|categorize}}<!--
| | [[Category: Sandbox]] |
| -->{{#if:{{{game2|}}}|{{GVI|{{{game2}}}|{{{version2|1.00}}}|categorize}}|}}<!-- These parameters were not
| |
| -->{{#if:{{{game3|}}}|{{GVI|{{{game3}}}|{{{version3|1.00}}}|categorize}}|}}<!-- mentioned in the documentation
| |
| -->{{#if:{{{game4|}}}|{{GVI|{{{game4}}}|{{{version4|1.00}}}|categorize}}|}}<!-- which was copy pasted
| |
| -->{{#if:{{{game5|}}}|{{GVI|{{{game5}}}|{{{version5|1.00}}}|categorize}}|}}<!-- from the documentation for {{Command}}
| |
| | |
| --> <!-- space between game versions and effects
| |
| | |
| -->{{#if:{{{arg|}}}|{{EffArg|cmd|arg|{{{arg}}}|categorize}}|}}<!--
| |
| -->{{#if:{{{eff|}}}|{{EffArg|cmd|eff|{{{eff}}}|categorize}}|}}<!--
| |
| | |
| --> <!-- space between effects and server exec
| |
| | |
| -->{{#if:{{{exec|}}}|{{ServerExec|cmd|exec|{{{exec}}}|categorize}}|}}<!-- Exec Param
| |
| | |
| --><br><!-- space between server exec and "introduced in" text
| |
| | |
| -->[[:Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Scripting Commands List|Introduced in '''{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}''']] <!-- -->[[:Category:Introduced with {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} version {{{version|{{{2|1.00}}}}}}|version '''{{{version|{{{2|1.00}}}}}}''']]
| |
| <div style="color:grey; font-size:0.75em">Click on the images for descriptions</div>
| |
| | |
| <h3>Description</h3>
| |
| <dl>
| |
| <dt>Description:</dt>
| |
| <dd>{{{description|{{{3|}}}}}}</dd>
| |
| </dl><!--
| |
| | |
| -->{{#if:{{{s1|{{{4|}}}}}}|<h3>Syntax</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s1|{{{4}}}}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p1|}}}|
| |
| {{Command-param|{{{p1}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p2|}}}|{{Command-param|{{{p2}}}}}
| |
| {{#if:{{{p3|}}}|{{Command-param|{{{p3}}}}}
| |
| {{#if:{{{p4|}}}|{{Command-param|{{{p4}}}}}
| |
| {{#if:{{{p5|}}}|{{Command-param|{{{p5}}}}}
| |
| {{#if:{{{p6|}}}|{{Command-param|{{{p6}}}}}
| |
| {{#if:{{{p7|}}}|{{Command-param|{{{p7}}}}}
| |
| {{#if:{{{p8|}}}|{{Command-param|{{{p8}}}}}
| |
| {{#if:{{{p9|}}}|{{Command-param|{{{p9}}}}}
| |
| {{#if:{{{p10|}}}|{{Command-param|{{{p10}}}}}
| |
| {{#if:{{{p11|}}}|{{Command-param|{{{p11}}}}}
| |
| {{#if:{{{p12|}}}|{{Command-param|{{{p12}}}}}
| |
| {{#if:{{{p13|}}}|{{Command-param|{{{p13}}}}}
| |
| {{#if:{{{p14|}}}|{{Command-param|{{{p14}}}}}
| |
| {{#if:{{{p15|}}}|{{Command-param|{{{p15}}}}}
| |
| {{#if:{{{p16|}}}|{{Command-param|{{{p16}}}}}
| |
| {{#if:{{{p17|}}}|{{Command-param|{{{p17}}}}}
| |
| {{#if:{{{p18|}}}|{{Command-param|{{{p18}}}}}
| |
| {{#if:{{{p19|}}}|{{Command-param|{{{p19}}}}}
| |
| {{#if:{{{p20|}}}|{{Command-param|{{{p20}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s1|{{{4|}}}}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r1|{{{5|[[Nothing]]}}}}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| -->{{#if:{{{s2|}}}|
| |
| <h3>Alternative Syntax</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s2}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p21|}}}|
| |
| {{Command-param|{{{p21}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p22|}}}|{{Command-param|{{{p22}}}}}
| |
| {{#if:{{{p23|}}}|{{Command-param|{{{p23}}}}}
| |
| {{#if:{{{p24|}}}|{{Command-param|{{{p24}}}}}
| |
| {{#if:{{{p25|}}}|{{Command-param|{{{p25}}}}}
| |
| {{#if:{{{p26|}}}|{{Command-param|{{{p26}}}}}
| |
| {{#if:{{{p27|}}}|{{Command-param|{{{p27}}}}}
| |
| {{#if:{{{p28|}}}|{{Command-param|{{{p28}}}}}
| |
| {{#if:{{{p29|}}}|{{Command-param|{{{p29}}}}}
| |
| {{#if:{{{p30|}}}|{{Command-param|{{{p30}}}}}
| |
| {{#if:{{{p31|}}}|{{Command-param|{{{p31}}}}}
| |
| {{#if:{{{p32|}}}|{{Command-param|{{{p32}}}}}
| |
| {{#if:{{{p33|}}}|{{Command-param|{{{p33}}}}}
| |
| {{#if:{{{p34|}}}|{{Command-param|{{{p34}}}}}
| |
| {{#if:{{{p35|}}}|{{Command-param|{{{p35}}}}}
| |
| {{#if:{{{p36|}}}|{{Command-param|{{{p36}}}}}
| |
| {{#if:{{{p37|}}}|{{Command-param|{{{p37}}}}}
| |
| {{#if:{{{p38|}}}|{{Command-param|{{{p38}}}}}
| |
| {{#if:{{{p39|}}}|{{Command-param|{{{p39}}}}}
| |
| {{#if:{{{p40|}}}|{{Command-param|{{{p40}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s2|}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r2|[[Nothing]]}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| -->{{#if:{{{s3|}}}|
| |
| <h3>Alternative Syntax 2</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s3}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p41|}}}|
| |
| {{Command-param|{{{p41}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p42|}}}|{{Command-param|{{{p42}}}}}
| |
| {{#if:{{{p43|}}}|{{Command-param|{{{p43}}}}}
| |
| {{#if:{{{p44|}}}|{{Command-param|{{{p44}}}}}
| |
| {{#if:{{{p45|}}}|{{Command-param|{{{p45}}}}}
| |
| {{#if:{{{p46|}}}|{{Command-param|{{{p46}}}}}
| |
| {{#if:{{{p47|}}}|{{Command-param|{{{p47}}}}}
| |
| {{#if:{{{p48|}}}|{{Command-param|{{{p48}}}}}
| |
| {{#if:{{{p49|}}}|{{Command-param|{{{p49}}}}}
| |
| {{#if:{{{p50|}}}|{{Command-param|{{{p50}}}}}
| |
| {{#if:{{{p51|}}}|{{Command-param|{{{p51}}}}}
| |
| {{#if:{{{p52|}}}|{{Command-param|{{{p52}}}}}
| |
| {{#if:{{{p53|}}}|{{Command-param|{{{p53}}}}}
| |
| {{#if:{{{p54|}}}|{{Command-param|{{{p54}}}}}
| |
| {{#if:{{{p55|}}}|{{Command-param|{{{p55}}}}}
| |
| {{#if:{{{p56|}}}|{{Command-param|{{{p56}}}}}
| |
| {{#if:{{{p57|}}}|{{Command-param|{{{p57}}}}}
| |
| {{#if:{{{p58|}}}|{{Command-param|{{{p58}}}}}
| |
| {{#if:{{{p59|}}}|{{Command-param|{{{p59}}}}}
| |
| {{#if:{{{p60|}}}|{{Command-param|{{{p60}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s3|}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r3|[[Nothing]]}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| -->{{#if:{{{s4|}}}|
| |
| <h3>Alternative Syntax 3</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s4}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p61|}}}|
| |
| {{Command-param|{{{p61}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p62|}}}|{{Command-param|{{{p62}}}}}
| |
| {{#if:{{{p63|}}}|{{Command-param|{{{p63}}}}}
| |
| {{#if:{{{p64|}}}|{{Command-param|{{{p64}}}}}
| |
| {{#if:{{{p65|}}}|{{Command-param|{{{p65}}}}}
| |
| {{#if:{{{p66|}}}|{{Command-param|{{{p66}}}}}
| |
| {{#if:{{{p67|}}}|{{Command-param|{{{p67}}}}}
| |
| {{#if:{{{p68|}}}|{{Command-param|{{{p68}}}}}
| |
| {{#if:{{{p69|}}}|{{Command-param|{{{p69}}}}}
| |
| {{#if:{{{p70|}}}|{{Command-param|{{{p70}}}}}
| |
| {{#if:{{{p71|}}}|{{Command-param|{{{p71}}}}}
| |
| {{#if:{{{p72|}}}|{{Command-param|{{{p72}}}}}
| |
| {{#if:{{{p73|}}}|{{Command-param|{{{p73}}}}}
| |
| {{#if:{{{p74|}}}|{{Command-param|{{{p74}}}}}
| |
| {{#if:{{{p75|}}}|{{Command-param|{{{p75}}}}}
| |
| {{#if:{{{p76|}}}|{{Command-param|{{{p76}}}}}
| |
| {{#if:{{{p77|}}}|{{Command-param|{{{p77}}}}}
| |
| {{#if:{{{p78|}}}|{{Command-param|{{{p78}}}}}
| |
| {{#if:{{{p79|}}}|{{Command-param|{{{p79}}}}}
| |
| {{#if:{{{p80|}}}|{{Command-param|{{{p80}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s4|}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r4|[[Nothing]]}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| -->{{#if:{{{s5|}}}|
| |
| <h3>Alternative Syntax 4</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s5}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p81|}}}|
| |
| {{Command-param|{{{p81}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p82|}}}|{{Command-param|{{{p82}}}}}
| |
| {{#if:{{{p83|}}}|{{Command-param|{{{p83}}}}}
| |
| {{#if:{{{p84|}}}|{{Command-param|{{{p84}}}}}
| |
| {{#if:{{{p85|}}}|{{Command-param|{{{p85}}}}}
| |
| {{#if:{{{p86|}}}|{{Command-param|{{{p86}}}}}
| |
| {{#if:{{{p87|}}}|{{Command-param|{{{p87}}}}}
| |
| {{#if:{{{p88|}}}|{{Command-param|{{{p88}}}}}
| |
| {{#if:{{{p89|}}}|{{Command-param|{{{p89}}}}}
| |
| {{#if:{{{p90|}}}|{{Command-param|{{{p90}}}}}
| |
| {{#if:{{{p91|}}}|{{Command-param|{{{p91}}}}}
| |
| {{#if:{{{p92|}}}|{{Command-param|{{{p92}}}}}
| |
| {{#if:{{{p93|}}}|{{Command-param|{{{p93}}}}}
| |
| {{#if:{{{p94|}}}|{{Command-param|{{{p94}}}}}
| |
| {{#if:{{{p95|}}}|{{Command-param|{{{p95}}}}}
| |
| {{#if:{{{p96|}}}|{{Command-param|{{{p96}}}}}
| |
| {{#if:{{{p97|}}}|{{Command-param|{{{p97}}}}}
| |
| {{#if:{{{p98|}}}|{{Command-param|{{{p98}}}}}
| |
| {{#if:{{{p99|}}}|{{Command-param|{{{p99}}}}}
| |
| {{#if:{{{p100|}}}|{{Command-param|{{{p100}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s5|}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r5|[[Nothing]]}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| | |
| -->{{#if:{{{s6|}}}|
| |
| <h3>Alternative Syntax 5</h3>
| |
| <dl>
| |
| <dt>Syntax:</dt>
| |
| <dd>{{{s6}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{p101|}}}|
| |
| {{Command-param|{{{p101}}}|<dt>Parameters:</dt>}}
| |
| {{#if:{{{p102|}}}|{{Command-param|{{{p102}}}}}
| |
| {{#if:{{{p103|}}}|{{Command-param|{{{p103}}}}}
| |
| {{#if:{{{p104|}}}|{{Command-param|{{{p104}}}}}
| |
| {{#if:{{{p105|}}}|{{Command-param|{{{p105}}}}}
| |
| {{#if:{{{p106|}}}|{{Command-param|{{{p106}}}}}
| |
| {{#if:{{{p107|}}}|{{Command-param|{{{p107}}}}}
| |
| {{#if:{{{p108|}}}|{{Command-param|{{{p108}}}}}
| |
| {{#if:{{{p109|}}}|{{Command-param|{{{p109}}}}}
| |
| {{#if:{{{p110|}}}|{{Command-param|{{{p110}}}}}
| |
| {{#if:{{{p111|}}}|{{Command-param|{{{p111}}}}}
| |
| {{#if:{{{p112|}}}|{{Command-param|{{{p112}}}}}
| |
| {{#if:{{{p113|}}}|{{Command-param|{{{p113}}}}}
| |
| {{#if:{{{p114|}}}|{{Command-param|{{{p114}}}}}
| |
| {{#if:{{{p115|}}}|{{Command-param|{{{p115}}}}}
| |
| {{#if:{{{p116|}}}|{{Command-param|{{{p116}}}}}
| |
| {{#if:{{{p117|}}}|{{Command-param|{{{p117}}}}}
| |
| {{#if:{{{p118|}}}|{{Command-param|{{{p118}}}}}
| |
| {{#if:{{{p119|}}}|{{Command-param|{{{p119}}}}}
| |
| {{#if:{{{p120|}}}|{{Command-param|{{{p120}}}}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<!--
| |
| | |
| -->{{#if:{{{s6|}}}|
| |
| <dt>Return Value:</dt>
| |
| <dd>{{{r6|[[Nothing]]}}}</dd>
| |
| </dl>|}}<!--
| |
| | |
| -->{{#if:{{{s1|{{{4|}}}}}}|
| |
| <h3>Examples</h3>
| |
| <dl>|}}<!--
| |
| | |
| -->{{#switch:{{{x1|}}}
| |
| |
| |
| |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|{{{x1}}}|<dt>Example 1</dt>}}<!-- TODO: remove dt tags -->
| |
| {{#if:{{{x2|}}}|{{Command-example|{{{x2}}}|Example 2}}
| |
| {{#if:{{{x3|}}}|{{Command-example|{{{x3}}}|Example 3}}
| |
| {{#if:{{{x4|}}}|{{Command-example|{{{x4}}}|Example 4}}
| |
| {{#if:{{{x5|}}}|{{Command-example|{{{x5}}}|Example 5}}
| |
| {{#if:{{{x6|}}}|{{Command-example|{{{x6}}}|Example 6}}
| |
| {{#if:{{{x7|}}}|{{Command-example|{{{x7}}}|Example 7}}
| |
| {{#if:{{{x8|}}}|{{Command-example|{{{x8}}}|Example 8}}
| |
| {{#if:{{{x9|}}}|{{Command-example|{{{x9}}}|Example 9}}
| |
| {{#if:{{{x10|}}}|{{Command-example|{{{x10}}}|Example 10}}|}}|}}|}}|}}|}}|}}|}}|}}|}} }}<!--
| |
| | |
| -->{{#if:{{{s1|{{{4|}}}}}}|</dl>
| |
| <h3>Additional Information</h3>
| |
| <dl>
| |
| <dt>Multiplayer:</dt>
| |
| <dd>{{{mp|-}}}</dd>|}}<!--
| |
| | |
| -->{{#if:{{{pr|}}}|
| |
| <dt>Problems:</dt>
| |
| <dd>{{{pr}}}</dd>|}}
| |
| <dt>See also:</dt>
| |
| <dd class="seealso">{{busa}}{{#if:{{{seealso|{{{6|}}}}}}|{{#replace:{{#replace:{{{seealso|{{{6}}}}}}|], [|][}}|],[|][}}|{{See also needed}}}}</dd><!--
| |
| | |
| -->{{#if:{{{s1|{{{4|}}}}}}|</dl>|}}
| |
| | |
| <h3>Notes</h3>
| |
| <dd style{{=}}"font-size: smaller; text-align: center">
| |
| {{Messagebox
| |
| | '''Only post proven facts here.'''<!--
| |
| --> Report bugs on [http://feedback.arma3.com/ the feedback tracker].<!--
| |
| --> Use the [[{{NAMESPACE}} talk:{{PAGENAME}}|Talk page]] or the [https://forums.bohemia.net/ Forums] for discussions.<br>
| |
| <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>
| |
| | i
| |
| | #E5EEF8
| |
| }}
| |
| </dd>
| |
| </div></includeonly><noinclude>
| |
| | |
| {{User:Lou_Montana/Sandbox/Template:Command|Comments=
| |
| |game= ofp
| |
| |game2= arma2
| |
| |game5= tkoh
| |
| |version= 1.5
| |
| |version4= 0.99
| |
| |version5= 1.01
| |
| |arg= glob
| |
| |eff= global
| |
| |exec= server
| |
| |description= the command's description
| |
| |s1= unit [[setDammage]] damageAmount
| |
| |p1= unit: [[Object]] - thing to damage
| |
| |p2= damageAmount: [[Number]] - 0..1 range
| |
| | |
| |x1= <code>[[player]] [[setDammage]] 1;</code>
| |
| |seealso= [[SeeAlso1]] [[SeeAlso2]], [[SeeAlso3]]
| |
| |mp= This works well in Multiplayer. Have fun!
| |
| }}
| |
| </noinclude>
| |