Page MenuHomeFeedback Tracker

A command to return WeaponHolderSimulated link to the dead body
Closed, ResolvedPublic

Description

I want to request a scripting command to return a dead body that WeaponHolderSimulated (WHS) was dropped from. It is sort of possible to get this link by attaching "Put" event handler to a dead body BEFORE it dies, but impossible to tell reliably after the death. Engine stores this link so it would useful to return it through a script command.

Details

Severity
Feature
Resolution
Fixed
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Additional Information

Suggested syntax:

Return body that WHS dropped from:

<Body> = supplyGetBody <WHS>;

Event Timeline

SaMatra created this task.Sep 2 2022, 8:24 AM

rev 149883 getCorpse

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Sep 2 2022, 7:33 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Did some tests, including MP with different locality, no issues found. Works good!

Tenshi closed this task as Resolved.Jan 5 2023, 10:07 AM
Tenshi changed Resolution from Open to Fixed.