Mav3r1ck wrote:Would I also encounter the same problem with the Thing Count if I use your version?
And also, if I want to add the fading effect for translucent style monsters I just put more in the code with else if?
I highly doubt you will have the same problem as long as there's at least 1 tic delay between each Thing_FadeSpawn call and different monsters with different renderstyles get their own new TIDs. There's no way to overcome this with ACS, the user is responsible for separating the TIDs.
As far as fading translucent monsters, basically you need to check the actor which is about to spawn to see if should have an alpha value lower than 1.0 like the Spectre which is 0.5 or the Lost Soul which is variable depending on user cvar. The OP covers all this
, but hold off on using my version right now.
I am making a small update and also will provide a sample WAD to show off how it works. This will be ready in a few minutes. EDIT: Ready now, check OP.