• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Spawn Protection

I haven't noticed any spawn protection in game. What I need is a way for a player to spawn invisible for a configurable number of seconds. If they fire while invisible, they immediately become visible.

Newly spawned players have about 3 seconds of spawn protection, that is, unless they spawn on SL in which case they have 0.
 
Upvote 0
The ServerEx mutator has additional spawn protection. What it does is give a spawned player immunity for an extra couple of seconds as long as he's in the spawn area. The immunity drops as soon as he steps outside of his spawn area or as soon as he tries to hit an enemy while he himself is still being under protection.

Thanks for the reply. I may ask to take a look at your code so I can take it a stage further, but I'm not quite there yet.
 
Upvote 0