Patrick Posted March 21, 2010 to make enemy corpses gib-able, I'm having a new actor spawned on the death of an enemy. I seem to be having 2 problems with this. First of all, the newly spawned corpse doesnt seem to want to be crushed by doors, etc. It has a crush state, and it worked when it was part of the monster. Secondly, the newly spawned actor doesn't seem to want to take the old actor's translation (see the code below) does anyone have any ideas what I'm doing wrong? Actor TheDude { States{ Death: DUDE I 4 A_Gravity DUDE J 4 A_Scream DUDE K 4 A_NoBlocking DUDE L 4 TNT1 A 0 A_SpawnItemEx("Dead_Dude1", 0, 0, 0, 0, 0,0,SXF_TRANSFERTRANSLATION) Stop } } //The Spawned dead guy ACTOR Dead_Dude1{ Health 10 Radius 16 Height 16 Mass 10 +CORPSE +DROPOFF -NOLIFTDROP -NOBLOCKMAP -Solid +FLOORCLIP +SHOOTABLE States { Spawn: DUDE M 1 Loop Death: TNT1 A 0 A_SpawnItem("Gibs_Spawner") Stop Crush: TNT1 A 0 A_PlaySound ("misc/gibbed") TNT1 A 0 A_SpawnItem("Gibs_Spawner") Stop } } 0 Share this post Link to post
Patrick Posted March 21, 2010 whohoo, I just found the hackiest solution to this problem .... 0 Share this post Link to post