Page MenuHomeFeedback Tracker

[DEV] Revive System not processing onPlayerKilled.sqf correclty
Closed, ResolvedPublic

Description

When a unit bleeds out, the onPlayerKilled.sqf does not appear to be processed correctly.

It IS executing, but code within the script appears to have no affect.

e.g. setPlayerRespawnTime

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
End Game - Revive
Steps To Reproduce

Place down respawn_west marker and set respawn=3
in onPlayerKilled.sqf add setPlayerRespawnTime 999999999;
Enable revive, shoot unit and allow to beed out.

After bleedout the players respawn time should be adjusted to 999999999.

This does not happen and the player respawns normally.

Additional Information

The onPlayerKilled.sqf IS being executed and works correctly if the player is killed with critical damage (e.g to head).

Event Timeline

2600K created this task.Aug 31 2016, 12:39 PM
2600K added a comment.EditedAug 31 2016, 1:04 PM

There seem to be a lot of bugs in the current dev version - Basic incap setting doesn't seem to be applied to players if they rejoin (all shots killed the player outright).

'Advanced' incap setting seems to kill players under any circumstances (pistol shots to legs would cause death, may be relayed to rejoining issues above).

A basic example mission that will replicate the logged issue everytime:

https://www.dropbox.com/s/xrqig3swbw4evrp/dev_reviveBug.VR.zip?dl=0

Issue currently present in; v1.65.138249

Thanks for the feedback. I will check the issue with onPlayerKilled.sqf and I look at the JIP issue. Thanks for the repro mission.

razazel changed the task status from New to Reviewed.Sep 20 2016, 3:17 PM
tom_48_97 closed this task as Resolved.Sep 20 2016, 3:19 PM

It is now fixed :)