triggerAmmo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game= | | arma3 |Game= | ||
Line 13: | Line 12: | ||
|gr1= Object Manipulation |GROUP1= | |gr1= Object Manipulation |GROUP1= | ||
| 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. |Description= | ||
| [[triggerAmmo]] munition |Syntax= | | [[triggerAmmo]] munition |Syntax= | ||
Line 23: | Line 20: | ||
| [[Nothing]] |Return Value= | | [[Nothing]] |Return Value= | ||
|x1= <code>[[triggerAmmo]] bomb1</code> |Example 1= | |x1= <code>[[triggerAmmo]] bomb1</code> |Example 1= | ||
|mp= |Multiplayer Behaviour= | |mp= |Multiplayer Behaviour= |
Revision as of 04:00, 17 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