triggerAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command|= " to "{{Command|Comments= ")
mNo edit summary
Line 11: Line 11:


|serverExec=  |Multiplayer Execution ("server" or empty)=
|serverExec=  |Multiplayer Execution ("server" or empty)=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________


| triggerAmmo munition |Syntax=
| [[triggerAmmo]] munition |Syntax=


|p1= munition: [[Object]]
|p1= munition: [[Object]]

Revision as of 11:31, 24 September 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:
Object Manipulation

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