Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

'OnPlayerDeathTrigger' activates when target is gibbed, even if already dead

All reported bugs that's actually by design.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Post Reply
User avatar
M_M_M
Superfighter
Superfighter
Posts: 108
Joined: Tue Mar 22, 2016 1:39 am
Title: soopreeme groundpood
SFD Alias: MMM
Started SFD: PreAlpha 1.6.0
Location: a slightly-used lazyboy recliner
Gender:
Age: 6

'OnPlayerDeathTrigger' activates when target is gibbed, even if already dead

Post by M_M_M » Thu Sep 06, 2018 5:58 pm

If you have an NPC/Player hooked up to an OnPlayerDeathTrigger, they can activate it more than once if their body is gibbed sometime after their death.
1 x
hello yes

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 375
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 20

Post by JakSparro98 » Thu Sep 06, 2018 6:25 pm

I've never suspected it could be a bug, I always found a workaround to this and never reported it, since could help to have a trigger call when a corpse is gibbed, as well as when a player dies.
0 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1277
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 28

Post by Gurt » Fri Sep 07, 2018 5:32 pm

Well...
"OnPlayerDeathTrigger:
Activated when a player is killed or removed."
So it works by design when reading the help. Gibbing a player will also remove the player instance from the world.
2 x
Gurt

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest