Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
KVELLER

"Tried to define class more than once"

Question

Why?? I don't know what I'm doing but it makes GZDoom angry. Since it says that the problem is the "Zombie" class, I guess this is the code with the problem:

 

// Zombie Man

ACTOR Zombie : ZombieMan replaces ZombieMan
{
	States
	{
		Ice:
			POSS Z 5 A_FreezeDeath
			POSS Z 1 A_FreezeDeathChunks
			Goto See
	}
}

But still, I'm guessing that the error means that I used the same name in two different actors, but I haven't done that.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

I believe it's because there's already something else named 'Zombie'. Try changing the name to something else (like Zombie2 or whatever) and it should work.

Share this post


Link to post
  • 0
1 hour ago, Ichor said:

I believe it's because there's already something else named 'Zombie'. Try changing the name to something else (like Zombie2 or whatever) and it should work.

Yep, that was it. I don't know why I didn't try that before.

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
×