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.

Gibbing bodies in campaign still activates triggers

Did you encounter a problem, exploit, glitch or bug while playing the game or running the dedicated server software? Tell us about it here.
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
JakSparro98
Superfighter
Superfighter
Posts: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 25

Gibbing bodies in campaign still activates triggers

Post by JakSparro98 » Sat Dec 01, 2018 5:02 pm

SFD version 1.0.0e
► Show Spoiler
3 x

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

Post by Gurt » Sat Dec 01, 2018 5:22 pm

Hmm. Maybe we should split up the PlayerDeath event to two: PlayerDeath (when the player gets killed either by damage, gibbing or falling outside the map) and another PlayerRemoved (when a body gets gibbed, or removed by falling outside the map). The PlayerDeath would run before PlayerRemove in case both event happens. Might reduce the risk of using these events the wrong way - if that's the case here (haven't investigated but I assume).
4 x
Gurt

Post Reply