Page 1 of 1

Add IPlayer.Disarm()

Posted: Sat Mar 21, 2020 5:10 pm
by NearHuscarl
I'd like a method to disarm IPlayer immediately. Currently the way to do it is to execute the Drop command which will be delayed a bit, an unwanted side effect in my case, since the bot has to hold G for a while to drop the weapon. The method may have the following signature

Code: Select all

IObjectWeaponItem IPlayer.Disarm(Vector2 direction)

Re: Add IPlayer.Disarm()

Posted: Sat Mar 21, 2020 6:20 pm
by Gurt
Nice idea.
Added after v.1.3.4:
IObjectWeaponItem IPlayer.Disarm(WeaponItemType weaponType, Vector2 velocity)