dragon zen 16 Posted May 26, 2017 Dear Guys: I want to ask how to identify the "shooter" (man/vehicle) of given bullet, missile or arty shell by script, and whether I can further change it. Actually my application is that, I want create arty shell on an area, and I want to attach this arty shell to certain unit, so that the killing of shell is counted to that unit. Without this, the killer (returned by EventHandler Killed) is null. Anybody know how to identify and change the "shooter" or bullet or missile, or other way to achieve such function? Thank you. Dragon Zen Share this post Link to post Share on other sites
Greenfist 1863 Posted May 26, 2017 setShotParents and getShotParents might do just that. Share this post Link to post Share on other sites
dragon zen 16 Posted May 26, 2017 2 minutes ago, Greenfist said: setShotParents might do just that. Awesome!!! thank you so much. Share this post Link to post Share on other sites
Grumpy Old Man 3547 Posted June 9, 2017 I just goofed around with this command, and unfortunately when arty shells impact an area and fail to kill a tank/apc or other armored vehicle, the vehicle crew immediately starts to engage the owner of the shot set via setShotParents, even if no previous engagement has taken place. So as an example: Be JTAC Call in arty fire Spawn artillery shells and setshotParents to the JTAC shells impact but fail to kill armor armor immediately engages JTAC So that's it for this command, unusable in this application, at least for me. Made a ticket just in case this isn't intended behavior. Cheers 1 Share this post Link to post Share on other sites
Greenfist 1863 Posted June 9, 2017 1 minute ago, Grumpy Old Man said: I just goofed around with this command, and unfortunately when arty shells impact an area and fail to kill a tank/apc or other armored vehicle, the vehicle crew immediately starts to engage the owner of the shot set vie setShotParents, even if no previous engagement has taken place. So that's it for this command, unusable in this application, at least for me. Cheers I haven't tested it in a couple of years, but back then the surviving artillery targets used to attack the shooter even without the owner manipulation. Share this post Link to post Share on other sites
Grumpy Old Man 3547 Posted June 9, 2017 Yeah, that's okay in terms of artillery fired from artillery vehicles I guess. Usually it's a non issue since they're masked by terrain, or just by the sheer distance (15km in my case, on altis this can be even further). Maybe this command isn't meant to be used in the way I did. But what other purpose would it serve then? Cheers Share this post Link to post Share on other sites