LuzRoja29 Posted August 6, 2022 How can I make a zombieman spawn entities (in this case, gibs) when he dies from explosions? I tried, but I had to replace the zombie with decorate (with a copy paste the common zombie decorate) and add in xdeath state that generates the entity, but the sprites of that entity are not shown 0 Share this post Link to post
Kan3 Posted August 7, 2022 As a base rule, never directly copy-paste an actor's DECORATE, it's pointless and just increases the file sizes, just inherit from them. In your case: Actor YourZombieMan : ZombieMan etc... Now you can just replace the state that you want to, in this case XDeath. How are you spawning the entities? what action are you calling? Post the code 0 Share this post Link to post
Kan3 Posted August 7, 2022 10 minutes ago, LuzRoja29 said: ...but i want to replace the zombieman, so i am testing with doom2.wad zombiemans in the entryway. here the code (i used as template the superdemon gore arm) My bad, then to replace him, you just need to also add Replaces ZombieMan after your inherit Are all of the sprites of the arm in the right place? 0 Share this post Link to post