Re: [hlcoders] Best way to make disappear a ragdoll after x seconds

2005-02-23 Thread Teddy
try the CRagdollProp::FadeOut( float flDelay, float fadeTime ) function On Tue, 22 Feb 2005 20:40:09 +1000, Draco [EMAIL PROTECTED] wrote: or you could make your own function that simply has UTIL_REMOVE(this); in it -- ** Draco Coder for Perfect Dark and Kreedz

Re: [hlcoders] Best way to make disappear a ragdoll after x seconds

2005-02-23 Thread Rodrigo 'r2d2rigo' Diaz
If FadeOut works like HL1, it only makes it gradually invisible and untouchable, but it's still there. I bet for the UTIL_Remove func. On Wed, 23 Feb 2005 20:40:57 +1000, Teddy [EMAIL PROTECTED] wrote: try the CRagdollProp::FadeOut( float flDelay, float fadeTime ) function

[hlcoders] Best way to make disappear a ragdoll after x seconds

2005-02-22 Thread Jose Luis Gonzalez
Hi everybody. I have a vulnerable entity that become ragdoll when i kill him. In the code i make first the ragdoll entity and destroy the entity. The ragdoll appears and mantain always in the map, but i want to dissolve or make disappear this ragdoll after four or five seconds. Do you know a

Re: [hlcoders] Best way to make disappear a ragdoll after x seconds

2005-02-22 Thread Draco
or you could make your own function that simply has UTIL_REMOVE(this); in it -- ** Draco Coder for Perfect Dark and Kreedz Climbing http://perfectdark.game-mod.net ___ To unsubscribe, edit your list preferences, or view the list

Re: [hlcoders] Best way to make disappear a ragdoll after x seconds

2005-02-22 Thread Draco
I would set the ragdoll ent's think to whatever the base entity uses to destroy itself and it's nextthink to 5 seconds -- ** Draco Coder for Perfect Dark and Kreedz Climbing http://perfectdark.game-mod.net ___ To unsubscribe, edit