Just expand the hard coded bounds to something larger, such as that of a normnal headcrab (that i understand is 32 units)
I know for a fact, but cant be assed at the moment giving the exact line of code but i do know its got a comment //hard coded for now attached to it. Adam --- TheDisturbedOne TheDisturbedOne <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > Alright I know I can just add > > CBaseEntity::Create( "npc_headcrab", > GetLocalOrigin(), QAngle(0,0,0) ); > > inside the first if that checks if the timer is up > if I copy the code from > the Detonate function under > > CGrenadeFrag::DelayThink() > > inside GrenadeFrag.cpp That works ok unless you > throw the grenade near a > wall, in which case the headcrab becomes stuck. I > need to check a radius > around the LocalOrigin of the grenade to see if > there are any walls inside > the radius, and if so move around and recheck > position like the section > under > > // Check if fire is in a wall, if so try shifting > around a bit > > in the fire.cpp . I tried to use that bit of code > from fire.cpp as a guide > but I got lost along the way. I'd like to have > something like Crabspawn() I > could stick after the if. Any help and or hits > appreciated. > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -------- Nigredo Studios http://www.nigredostudios.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

