Page 1 of 1

Determine if player corpse is burned

Posted: Sat Feb 23, 2019 5:37 pm
by NearHuscarl
I am writing a script to convert infected players into zombies after dying only if the corpses are not burned yet. Currently there is only IPlayer.IsBurning but only if player is CURRENTLY burning which are not necessarily burning at the time the corpse turn into zombie. Something like IPlayer.IsBurnedCorpse?

Re: Determine if player corpse is burned

Posted: Sat Feb 23, 2019 7:47 pm
by Gurt
Good suggestion, adding it in the next update after v.1.1.1.
ScriptAPI: Added IPlayer.IsBurnedCorpse to see if the corpse is burned.
ScriptAPI: Added IPlayer.IsBurningInferno to see if a player is a burning inferno (burning rank 2).