This forum is going to be locked at the end of this year and eventually going offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

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: 13

'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: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 27

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: 1885
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 35

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