View Single Post
Major_victory
Member
Join Date: Nov 2005
Location: Illinois
Old 11-19-2005 , 23:14  
Reply With Quote #17

Quote:
Originally Posted by joka69
Dont know if this will help ,but maybe.
Code:
    if(is_valid_ent(ptd)) {                 new classname2[32]                 entity_get_string(ptd,EV_SZ_classname,classname2,31)                                 if(equal(classname2,"func_breakable"))                     force_use(ptr,ptd)             }                         remove_entity(ptr)         }
LOL! I got to almost EXACTLY the same thing, except that i couldn't find a way to deal ddamage to the entity. I kept thinking i had to use one of the entity_set_ functions but coudln't find anything that worked. I'll try this and see what happens

+Karma
__________________
Games i've screwed with:
Battlefield 1942, CNC Generals, Red Faction, Incoming/Incoming Forces, The Sims, Sim City 3k, Unreal Tournament, Fallout 1/2, Ragnarok, Goonzu, and CS 1.6.
Major_victory is offline
Send a message via AIM to Major_victory Send a message via Yahoo to Major_victory