User talk:Regular K: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


I'm trying to remove all (non-mapper placed) decals and ragdolls, can anyone help with either one? Thank you :) [[User:Regular K|Regular K]] 18:31, 25 Jun 2006 (PDT)
I'm trying to remove all (non-mapper placed) decals and ragdolls, can anyone help with either one? Thank you :) [[User:Regular K|Regular K]] 18:31, 25 Jun 2006 (PDT)
:See [[r_cleardecals]] and iterate the entity list with FindEntityByClassname for "hl2mp_ragdoll" and call Remove() on found ones—'''[[User:Ts2do|ts2do]]''' 19:57, 25 Jun 2006 (PDT)

Revision as of 19:57, 25 June 2006

I'm programming rounds into my mod (like how when a round ends in CS). Everything is coming good EXCEPT I cant seem to find out how to reset all props, npcs, etc back to their original state. Can anyone please help me? Regular K

See these files:—ts2do 17:01, 19 Jun 2006 (PDT)

game_shared: [1] [2] [3]
dlls: [4] [5]
Thank you. Regular K


I'm trying to remove all (non-mapper placed) decals and ragdolls, can anyone help with either one? Thank you :) Regular K 18:31, 25 Jun 2006 (PDT)

See r_cleardecals and iterate the entity list with FindEntityByClassname for "hl2mp_ragdoll" and call Remove() on found ones—ts2do 19:57, 25 Jun 2006 (PDT)