triggerAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game=
| arma3


|1.92|Game Version =
|1.92


|arg=  |Multiplayer Arguments =
|arg=


|eff=  |Multiplayer Effects =
|eff=


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


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


| 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=
| 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.


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


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


| [[Nothing]] |Return Value=
| [[Nothing]]


|x1= <code>[[triggerAmmo]] bomb1</code> |Example 1=
|x1= <code>[[triggerAmmo]] bomb1</code>


|mp= |Multiplayer Behaviour=
|mp= |Multiplayer Behaviour=


| [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]] |See Also=
| [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]]
}}
}}



Revision as of 12:25, 18 January 2021

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