SubmunitionAmmo doesn't inherit parent projectile's instigator
New, NormalPublic

Description

If you are shooting a shell (eg: cluster shell) which spawns one or multiple ammo in impact/over target - it won't inherit the parent ammo's instigator (instigator will be objNull)

Build: 1.66.139586

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Engine
Steps To Reproduce

Place a vehicle, add hit eventhandler

this addEventHandler ["hit","player sidechat (str _this)"]

Shoot it with a shell which uses an ammo with submunition ammo defined (eg: M5 sandstorm MLRS)

You see that the returned string will show the shooting vehicle (_this select 1), but the instigator (_this select 3) is objNull.

The result is the same with the "killed" eventhandler, thus: submunition ammo doesn't inherit parent ammo's instigator

Gippo created this task.Feb 21 2017, 9:52 PM
Gippo updated the task description. (Show Details)
Wulf added a subscriber: Wulf.Dec 20 2017, 11:21 AM

Hello.

This should be fixed in our development branch could you please have a look and confirm that the issue is fixed? Thanks.