Page MenuHomeFeedback Tracker

explosionEffect shot only uses instigator for parents as source instead of full parents info of the killer
Closed, ResolvedPublic

Description

When vehicle blows up and spawns explosionsEffect shot (like FuelExplosion), it only uses instigator of vehicle killer for source instead of both source and instigator.

To summarize, when vehicle is killed by:
source=vehicle
instigator=unit
the explosion gets following parents:
source=unit
instigator=null

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Health System
Steps To Reproduce
  1. Launch attached mission
  2. Shoot the heli until it explodes
  3. Observe hint reporting parents for tank shot and FuelExplosion
Additional Information

Repro mission hint you'll end up observing

Event Timeline

SaMatra created this task.Oct 13 2023, 2:15 PM
SaMatra edited Additional Information. (Show Details)Oct 13 2023, 2:19 PM

As designed, the explosion doesnt have separate instigator as the shotShell has

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Feb 6 2024, 9:45 PM
BIS_fnc_KK closed this task as Resolved.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Is this related to lack of vehicle or instigator on the entity in lastEntityCausingDamage @ T178711? I think it would be correct for entities to store both last damage vehicle and instigator and then use it for proper Killed event handler arguments and these explosions parents.

lastEntityCausingDamage is the engine pullup, so adding instigator would require the whole new implementation, not likely happening any time soon