Raised This Month: $ Target: $400
 0% 

Make grenades shootable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 05-06-2009 , 12:02   Make grenades shootable
Reply With Quote #1

Well here is what I want to do. Make the grenade classname take some damage.

This is what I've already tried but it only works when I damage them by hegrenade, not when I shoot them ...
PHP Code:
set_pev(entpev_dmg2.0)
set_pev(entpev_takedamage2.0)
set_pev(entpev_health100.0
I've also tried to set the max_health but it also didn't work...

If it isn't possible, it is a good idea to try to create func_brakeable entities asociated with the grenades and when they are dead to make them explode? Is it a good idea to try this when I have for example 1000 grenade entities on the map?
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 05-06-2009 at 12:05.
ot_207 is offline
 



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 22:33.


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