Raised This Month: $51 Target: $400
 12% 

[SOLVED][TF2] Block Grappling hook when player stunned


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2015 , 10:02   Re: [SOLVED][TF2] Block Grappling hook when player stunned
Reply With Quote #21

Chdata, have you validated that slot 5 actually contains the grappling hook?

That'd cause a problem for Engineer since his tf_weapon_builder (item index 28) is present in that slot. If an Engineer doesn't have a tf_weapon_builder, the `build` command, Contruction kit, and Destruction kit all stop working.

(Side note: Sapper is a subclass of tf_weapon_builder, but for Spy)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-08-2015 at 10:02.
Powerlord is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 05-08-2015 , 10:45   Re: [SOLVED][TF2] Block Grappling hook when player stunned
Reply With Quote #22

Maybe I meant to type 6? idk

This guy titled his thread solved.... but did he even test anything?

I vaguely remember testing it for scout/soldier...

Probably, since you can't equip tf_weapon_builder as engineer in the first place, both items are put into the same slot and it happens to work out, as TF2 does say it's slot 6. (Since primary == 0, slot6 == 5)

Which means multiple weapons would have to be searched in engineer's case, I guess.
__________________

Last edited by Chdata; 05-08-2015 at 11:54.
Chdata is offline
Research
SourceMod Donor
Join Date: Nov 2011
Old 05-09-2015 , 12:30   Re: [SOLVED][TF2] Block Grappling hook when player stunned
Reply With Quote #23

Yes I test it and it's working. if it's not work, I can't add SOLVED tag :/
Research is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode