Thingcount not working

Hello everyone, I have a problem, every time I try to use Thing count it says "Runaway X script".

I use the "While(Thingcount(0,X));" script, does anyone have any other ones that should work, or is there something wrong with the one i'm using, and I've also tried "If" instead of "While" but that does the same thing.

And sometimes it doesn't runaway but it will ignore the thingcount and go straight to the thing i want after all the enemies with that tag are dead.

I'm using ZDoom (Doom in UDMF) Format, I use to use doom in hexen but it didn't work in that either.

So any help with my problem would be greatly appreciated, thanks (:

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now