Page MenuHomeFeedback Tracker

setPlayerRespawnTime is not working
Closed, ResolvedPublic

Description

The title says it all...

setPlayerRespawnTime is not working, the respawnDelay from description.ext is not being overwritten.

I used this command in the past, so I'm quite sure.

Details

Legacy ID
2199909715
Severity
Minor
Resolution
Not A Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Description.ext:
respawnDelay = 60;

Init.sqf:
setPlayerRespawnTime 5;

Respawn time will be 60 seconds.

Event Timeline

sxp2high edited Steps To Reproduce. (Show Details)Mar 11 2013, 3:29 PM
sxp2high edited Additional Information. (Show Details)
sxp2high set Category to Scripting.
sxp2high set Reproducibility to Always.
sxp2high set Severity to Minor.
sxp2high set Resolution to Not A Bug.
sxp2high set Legacy ID to 2199909715.May 7 2016, 12:17 PM

Only tested on (local) hosted environment.

d3nn16 added a subscriber: d3nn16.May 7 2016, 12:17 PM

I works for me, I created a mission where respawn time increases each time you die (tested it on dedicated server and hosted server). I attached the missions in this case: http://feedback.arma3.com/view.php?id=5187

Hmm I will try again. Thanks for letting me know. I'm using a lobby parameter to simply set respawn time. Maybe just some delay into the mission needed (i.e. sleep 1)?

In ArmA 2 it always worked.

Okay... I was right. This does indeed work:

  • spawn {

sleep 1;
setPlayerRespawnTime 5;
};

Command is not broken, just changed it's behavior since ArmA 2...

Ticket can be closed/removed.

The command works as intended.

Mass close.