Hello!
I was wondering if there's a way to get the object a player threw/dropped. I've scrolled through the whole API, the only thing I could find something to be maybe a little bit equivalent was the method 'IPlayer.IsThrowing'. This method doesn't return the item thrown, only a boolean.
Thanks in advance.
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.
Make sure to read the rules.
Getting objects a player threw/dropped
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27
You should collect all the weapons and throwable that are on the ground and then store only the one which has the "Is.Missile" on true, this isn't the most reliable way because also when a grenade explodes on weapons the latter are tracked as missile, but currently is the only way to achieve it.MScull wrote:Hello!
I was wondering if there's a way to get the object a player threw/dropped. I've scrolled through the whole API, the only thing I could find something to be maybe a little bit equivalent was the method 'IPlayer.IsThrowing'. This method doesn't return the item thrown, only a boolean.
Thanks in advance.
1 x
- MScull
- Fighter

- Posts: 33
- Joined: Sun May 29, 2016 9:43 pm
- Title: No Title
- SFD Account: MScull
- SFD Alias: Scull
- Started SFD: PreAlpha 1.8.8
- Location: The Netherlands
- Gender:
- Age: 24
Alright, I was afraid that this was the only possible way to achieve it. Thanks for giving me an answer!JakSparro98 wrote:You should collect all the weapons and throwable that are on the ground and then store only the one which has the "Is.Missile" on true, this isn't the most reliable way because also when a grenade explodes on weapons the latter are tracked as missile, but currently is the only way to achieve it.MScull wrote:Hello!
I was wondering if there's a way to get the object a player threw/dropped. I've scrolled through the whole API, the only thing I could find something to be maybe a little bit equivalent was the method 'IPlayer.IsThrowing'. This method doesn't return the item thrown, only a boolean.
Thanks in advance.
0 x
hi
