Difference between revisions of "triggerAmmo"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ | arma3dev |Game= |1.93|Game Version =(number surrounded by NO SPACE...")
 
m (Add See Also)
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3dev |Game=
+
| arma3 |Game=
  
|1.93|Game Version =(number surrounded by NO SPACES)
+
|1.92|Game Version =
  
|arg=  |Multiplayer Arguments =("local" or "global")
+
|arg=  |Multiplayer Arguments =
  
|eff=  |Multiplayer Effects =("local" or "global")
+
|eff=  |Multiplayer Effects =
  
|exec=  |Multiplayer Execution =("server" or empty)
+
|serverExec=  |Multiplayer Execution ("server" or empty)=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Triggers a munition such as missiles, rockets and bombs as if it did hit. |Description=
+
| Triggers a munition such as shells, bullets, missiles, rockets and bombs (''shotSubmunition/shotShell/shotBullet/shotMissile/shotRocket'') as if it did hit. If ammo uses submunition, then creation of submunition will be triggered. |Description=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 26: Line 26:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|mp= - |Multiplayer Behaviour=
+
|mp= |Multiplayer Behaviour=
  
| |See Also=
+
| [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]] |See Also=
 
}}
 
}}
  
 
<dl class="command_description">
 
<dl class="command_description">
<!-- BEGIN Note Section -->
 
<!-- For example:
 
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
 
<dt class="note">'''[[User:User Name|User Name]]'''</dt>
 
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
 
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
 
-->
 
<!-- END Note Section -->
 
 
</dl>
 
</dl>
  

Revision as of 19:07, 11 March 2020

Introduced with Arma 3 version 1.921.92
Hover & click on the images for descriptions

Description

Description:
Triggers a munition such as shells, bullets, missiles, rockets and bombs (shotSubmunition/shotShell/shotBullet/shotMissile/shotRocket) as if it did hit. If ammo uses submunition, then creation of submunition will be triggered.

Syntax

Syntax:
triggerAmmo munition
Parameters:
munition: Object
Return Value:
Nothing

Examples

Example 1:
triggerAmmo bomb1

Additional Information

See also:
getShotParents "Fired" Event Handler

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Bottom Section