triggerAmmo: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.92 | |1.92 | ||
|arg | |arg= | ||
|eff | |eff= | ||
|serverExec | |serverExec= | ||
|gr1= Object Manipulation | |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. | | 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 | | [[triggerAmmo]] munition | ||
|p1= munition: [[Object]] | |p1= munition: [[Object]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[triggerAmmo]] bomb1</code> | |x1= <code>[[triggerAmmo]] bomb1</code> | ||
|mp= |Multiplayer Behaviour= | |mp= |Multiplayer Behaviour= | ||
| [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]] | | [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]] | ||
}} | }} | ||
Revision as of 11:25, 18 January 2021
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