{"name":"getShotParents","title":"getShotParents","type":"command","url":"https://community.bistudio.com/wiki/getShotParents","revid":378943,"updated":"2026-08-27T16:27:34Z","groups":["Weapons"],"status":"ok","games":{"arma3":"1.62"},"since":"arma3 1.62","arma3_since":"1.62","description":"Returns shot information for the given projectile.\nIf shot was fired by a soldier on foot or in FFV position in vehicle, the soldier is returned for the vehicle.","syntaxes":[{"syntax":"getShotParents projectile","params":[{"name":"projectile","type":"Object","description":"the actual projectile shot","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"[vehicle, instigator] - Where vehicle is the vehicle the shot was fired from, and the instigator is the person who pulled the trigger"},"form":"unary","right":{"text":"projectile"}}],"examples":[{"code":["_shotParents = getShotParents myProjectile;"]},{"code":["batmobile addEventHandler [\"Fired\", { systemChat str getShotParents (_this select 6) }];"]}],"see_also":["setShotParents"]}