drop dead body
Is it possible, when a player dies, to make his body go up in the air for about 100 units, and then drop down until it touches the ground, and then remove it?
|
Re: drop dead body
1. Block the ClCorpse messages.
2. Hook when player dies. 3. When player dies, create an entity with the player's model and set it to the death sequence. 4. You can then play with the entity how you want. |
Re: drop dead body
sounds like a lot of new things for me.
but new things == new challenge and new challenge == lots of fun. Thanks exolent. |
Re: drop dead body
I make this, but it give runtime error 4: index out of bounds.
normally i would check if he is alive and if he is a player to fix this, but this is none of those, and idea how i can fix this. And if this sucks, tell it and i'll do something else instead. PHP Code:
|
Re: drop dead body
|
Re: drop dead body
i looked at it, but i don't understand it. I have almost no experience with engine.
And i also say this: Quote:
EDIT: I just saw i made a big mistake in Event_DeathMsg to. |
Re: drop dead body
For your code:
Code:
Example: Code:
|
Re: drop dead body
I don't understand how i should use these.
I think i'll beter stop with this, it's looks to complicated. EDIT: I think i understand it now, i'm gonna try some stuff and let you know how it goes |
Re: drop dead body
Quote:
|
Re: drop dead body
i now got this code and it crashes my game as soon as i spawn.
i don't know what i did wrong. PHP Code:
|
| All times are GMT -4. The time now is 03:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.