Page MenuHomeFeedback Tracker

Sethitpoint fuctions not working for helicopter hull damage
Closed, ResolvedPublic

Description

BIS_fnc_setHitPointDamage and setHitPointDamage will not actually set hit points of "hithull" at all.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Engine
Steps To Reproduce
  1. Log in to dedicated server running a persistent mission
  2. Damage Helicopter
  3. Attempt to set the damage of "hitHull" hitpoint to 0 using either setHitPointDamage or BIS_fnc_setHitPointDamage
  4. Re-log
  5. "hitHull" has reset to pre "repair" state
Additional Information

Exact functions attempted:

_this setHitPointDamage ["hitHull", 0];

[_this "hitHull", 0, true] call BIS_fnc_setHitPointDamage;

Event Timeline

thomascale96 changed Category from Health System to Engine.Apr 20 2020, 12:39 PM
Wulf changed the task status from New to Reviewed.Apr 20 2020, 5:07 PM
Wulf added a subscriber: Wulf.

Thank you for the report. We will see what can be done.

Wulf closed this task as Resolved.Apr 21 2020, 12:07 PM
Wulf claimed this task.

Closing issue as this is by design and will not be changed. It says on the page https://community.bistudio.com/wiki/setHitPointDamage that argument has to be local for global effect.