Jump to content
Sign in to follow this  
Socrate

Dead Bodies how...can i create them?!

Recommended Posts

Is there a way to get the dead body object of a dead player? or is there a class name for a dead body so i create them?

Basically i need to fill a variable with the dead player object after a player die..

So PLAYER "X" GET KILLED and in _corpse i've the dead body object..

Share this post


Link to post
Share on other sites

are you meaning that after that event fired, i've the dead body objet in the killed variable? I've already used killed event handler but i've always tought that the _killed variable had a reference to the respawned player object ( i mean the one that died and than respawned) not to the dead body object.

So if i try this way it should work, right?

_killed = this select 0;

_killer = _this select 1;

_killed setPos getMarkerPos "DeadBodies"; <--- Move the dead body

Edited by Socrate

Share this post


Link to post
Share on other sites

without trying I believe that should work

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×