Page MenuHomeFeedback Tracker

setPlayerRespawnTime not functioning in onPlayerKilled.sqf
Closed, ResolvedPublic

Description

Since 1.64 setPlayerRespawnTime has no apparent affect when placed inside onPlayerKilled.sqf

Players instead re-spawn instantly with respawn = 3

Issue still present on 1.65.138954 looks very similar to T120137 which was marked fixed.

Details

Severity
None
Resolution
No Bug
Reproducibility
N/A
Operating System
Windows 7
Category
Multiplayer
Steps To Reproduce
  1. Start supplied mission in MP
  2. Press ESC
  3. Click Respawn
  4. Player will respawn, with setPlayerRespawnTime is not adjusted
Additional Information

Event Timeline

2600K created this task.Oct 21 2016, 5:39 PM

There is no bug in here. Your initial respawnDelay is 0 means instant respawn. setPlayerRespawnTime is executed with delay, since onPlayerKilled is execVMed so it doesnt work for the first time. Set default respawn delay in description.ext - problem solved

respawnDelay = 999999;

BIS_fnc_KK closed this task as Resolved.Oct 21 2016, 6:14 PM
BIS_fnc_KK changed Resolution from Open to No Bug.