Is there a way for GZDoom to log Actor states?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
Frozsoul
Posts: 25
Joined: Sun Oct 01, 2017 8:24 am

Is there a way for GZDoom to log Actor states?

Post by Frozsoul »

I am hoping to find a way to log when all Actor states are entered during game playthrough, so I can more easily narrow down when issues are discovered.

Is there way to achieve this with the current GZDoom log output?
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Is there a way for GZDoom to log Actor states?

Post by Caligari87 »

You can do this manually pretty easily, I think. Set up a thinkeriterator that checks each actor every tick and compares its current statename to its last statename and prints an output if it's different. Could also use inventory items given to actors under certain conditions so the tracking can be modularly self-contained just on the actors you want.

8-)
Post Reply

Return to “General”