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.

IPlayer throwing mode

Give us your input on how we may improve the ScriptAPI in the game in future versions.
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Danger Ross
Posts: 129
Joined: Thu Mar 31, 2016 12:56 am
Title: Competition
SFD Alias: Danger Ross
Started SFD: 14 june 2012 (launch day)
Location: California
Age: 19

IPlayer throwing mode

Post by Danger Ross » Sat Feb 08, 2020 11:30 pm

It would be extremely useful if it was possible to tell if the player is throwing or not. As of right now, there's no way to differentiate between the player shooting a gun or throwing the gun (which are two completely different things). I'm specifically talking about the moment when the attack key is pressed.

here are the current IPlayer options:
IsHipFiring returns true if the player is throwing a weapon without aiming
IsManualAiming returns true if the player is aiming the weapon (even if throwing).
IsThrowing only returns true during the throwing animation and nothing else. The reason why this isn't substantial is because it's not understood whether or not the player is shooting or aiming a throw before the throw takes place.

There's no good way of telling if someone is firing a gun or ready to throw it.
5 x
sorry bucko, you can't punch with swords 8-)

Post Reply