triggerAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|exec=" to "|serverExec=")
m (Add See Also)
Line 10: Line 10:
|eff=  |Multiplayer Effects =
|eff=  |Multiplayer Effects =


|serverExec=  |Multiplayer Execution =("server" or empty)
|serverExec=  |Multiplayer Execution ("server" or empty)=
____________________________________________________________________________________________
____________________________________________________________________________________________


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

Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
triggerAmmo bomb1

Additional Information

See also:
getShotParents "Fired" Event Handler

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

Bottom Section