Thread: FrostNades
View Single Post
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 07-09-2006 , 16:54   Re: FrostNades
Reply With Quote #4

Quote:
Originally Posted by Hawk552
You didn't check if grenade is the c4, because the planted c4's classname is grenade.
The only time I use the "grenade" classname is for register_think, so I assume this is what you are referring to.

When a smoke grenade is thrown and determined to be a frost grenade, I set that entity's EV_INT_bInDuck to 1 (default 0, because it's unused in grenades). In my think handler, I disregard all grenades that do not have EV_INT_bInDuck set to 1.

So, the C4 shouldn't receive this flag, and its think should be passed over.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 07-09-2006 at 16:56.
XxAvalanchexX is offline