Jump to content
  • 0

"Tried to define class more than once"


KVELLER

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...