move dead bodies
from what iv tested, i have failed in trying to move dead bodies by setting a velocity, they just don't move, i tried setting them to MOVETYPE_BOUNCE
and i couldn't move them with set origin tent refers to a dead body, hooked from ClCorpse pev(tent, pev_origin, ent_o) ent_o[2]+=200 set_pev(tent, pev_origin, ent_o) why not, how can i move a dead body and set velocity on it? |
Re: move dead bodies
Just set the player origin. Index of actual dead player.
Code:
public Death_Msg() |
Re: move dead bodies
im trying to move an actual dead body, i already tried moving the origin and it wont go
pev(tent, pev_origin, ent_o) ent_o[2]+=200 set_pev(tent, pev_origin, ent_o) |
Re: move dead bodies
You can move corpse only before ClCorpse is fired.
Though there are hackish way: remove/redraw all existing corpses. |
Re: move dead bodies
Look here http://forums.alliedmods.net/showthread.php?p=475029 is working , and also in Hawk tutorial with dead bodyes works. :E
|
| All times are GMT -4. The time now is 07:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.