Socrate 10 Posted November 14, 2009 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
Ghost 40 Posted November 14, 2009 might want to use an eventhandler http://community.bistudio.com/wiki/addEventHandler like the "killed" one http://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Killed Share this post Link to post Share on other sites
Socrate 10 Posted November 14, 2009 (edited) 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 November 14, 2009 by Socrate Share this post Link to post Share on other sites
Ghost 40 Posted November 15, 2009 without trying I believe that should work Share this post Link to post Share on other sites