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.

IsLandedOnGround for the IPlayer class

Here you can find ScriptAPI suggestions implemented in the game.
Forum rules
By using the forum you agree to the following rules.
Locked
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 327
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 19

IsLandedOnGround for the IPlayer class

Post by JakSparro98 » Fri Apr 21, 2017 7:09 pm

After a jump kick or a medium fall distance the player lands and enters in a state that seems to be crouched, but since the IsChrouched doesn't recognize it could be helpfull to add another boolean to check this particulare condition.
2 x

User avatar
Lunatic
Moderator
Moderator
Posts: 589
Joined: Tue Mar 15, 2016 10:03 pm
Title: I hope Klipeh bans himself
SFD Alias: (LM) Lunatic
Started SFD: 1.0.5 Pre-Alpha
Gender:
Age: 22

Post by Lunatic » Fri Apr 21, 2017 8:19 pm

That state isn't crouching, it's kneeling. Being able to check for that condition would indeed be good.
1 x
Originally posted by Gurt
SFD BADASS! 8-)

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

Post by Gurt » Thu Mar 08, 2018 8:15 pm

Adding IPlayer.IsRecoveryKneeling and IPlayer.IsRecoveryRolling. IPlayer.IsRecoveryKneeling is used to track that high drop forced kneel/crouch state.
Added after Beta 1.0.2c.
1 x
Gurt

Locked

Who is online

Users browsing this forum: No registered users and 1 guest