triggerAmmo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "" to "") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.92 | |version1= 1.92 | ||
|arg= local | |||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= 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. | |descr= Triggers a munition such as shells, bullets, missiles, rockets, mines and bombs (''shotSubmunition/shotShell/shotBullet/shotMissile/shotRocket'') as if it did hit. | ||
If ammo uses submunition, then creation of submunition will be triggered. | |||
|s1= [[triggerAmmo]] munition | |s1= [[triggerAmmo]] munition | ||
Line 14: | Line 17: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>triggerAmmo bomb1;</sqf> | ||
|seealso= | |seealso= [[getShotParents]] [[Arma 3: Event Handlers#Fired|"Fired" Event Handler]] | ||
}} | }} |
Latest revision as of 11:55, 26 April 2023
Description
- Description:
- Triggers a munition such as shells, bullets, missiles, rockets, mines 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