Determine if player corpse is burned
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
Determine if player corpse is burned
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?
1 x
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
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).
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).
3 x
Gurt