{"name":"getShotInfo","title":"getShotInfo","type":"command","url":"https://community.bistudio.com/wiki/getShotInfo","revid":377707,"updated":"2026-01-02T09:03:44Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"2.18"},"since":"arma3 2.18","arma3_since":"2.18","description":"Returns various properties for the given shot.","syntaxes":[{"syntax":"getShotInfo shot","params":[{"name":"shot","type":"Object","description":"shot projectile","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [effectiveTimeToLive, fuseDistanceLeft, timeToExplosion, triggerIsForced, shownTracer, isReal, isSubmunitionTriggered, isSetForDeletion, shotParent, shotInstigator]\n- 0 - effectiveTimeToLive: Number - how much more shot has to live. - 1 - fuseDistanceLeft: Number - how long shot has to travel more to get fused (undebarrel grenade for example). - 2 - timeToExplosion: Number - how long before shot fuse explodes (hand grenade for example) Arma 3 v2.20 works on mines too. - 3 - triggerIsForced: Boolean - true if shot ammo was triggered with triggerAmmo. - 4 - shownTracer: Boolean - true if the shot shown as tracer. - 5 - isReal: Boolean - true if the shot is considered in damage events. - 6 - isSubmunitionTriggered: Boolean - true if the shot contains submunition and it is triggered. - 7 - isSetForDeletion: Boolean - true if the shot is already set for deletion but not yet removed from the scene. - 8 - Arma 3 v2.22 shotParent: Object - the vehicle that produced shot. - 9 - Arma 3 v2.22 shotInstigator: Object - the person who pulled the trigger.","text":"Array with [effectiveTimeToLive, fuseDistanceLeft, timeToExplosion, triggerIsForced, shownTracer, isReal, isSubmunitionTriggered, isSetForDeletion, shotParent, shotInstigator]\n\n- 0 - effectiveTimeToLive: Number - how much more shot has to live.\n- 1 - fuseDistanceLeft: Number - how long shot has to travel more to get fused (undebarrel grenade for example).\n- 2 - timeToExplosion: Number - how long before shot fuse explodes (hand grenade for example) Arma 3 v2.20 works on mines too.\n- 3 - triggerIsForced: Boolean - true if shot ammo was triggered with triggerAmmo.\n- 4 - shownTracer: Boolean - true if the shot shown as tracer.\n- 5 - isReal: Boolean - true if the shot is considered in damage events.\n- 6 - isSubmunitionTriggered: Boolean - true if the shot contains submunition and it is triggered.\n- 7 - isSetForDeletion: Boolean - true if the shot is already set for deletion but not yet removed from the scene.\n- 8 - Arma 3 v2.22 shotParent: Object - the vehicle that produced shot.\n- 9 - Arma 3 v2.22 shotInstigator: Object - the person who pulled the trigger."},"form":"unary","right":{"text":"shot"}},{"syntax":"shot getShotInfo index","params":[{"name":"shot","type":"Object","description":"shot projectile","type_expr":"Object"},{"name":"index","type":"Number","description":"property index (see main syntax, for example 1 for fuseDistanceLeft)","type_expr":"Number"}],"returns":{"type":"Anything","type_expr":"Anything","description":"depends on the requested property, or Nothing"},"form":"binary","left":{"text":"shot"},"right":{"text":"index"}}],"examples":[{"code":["private _shotInfo = getShotInfo shot1;"]},{"code":["private _fuseDistanceLeft = shot1 getShotInfo 1;"]}],"see_also":["getShotParents","missileTarget","triggerAmmo","getObjectType","getObjectTextures","objectParent","setVelocityTransformation","getUnitFreefallInfo","getEntityInfo","getModelInfo"]}