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

entertext and exittext in cluster

Question

Why entertext and exittext shows "INTROE5" instead of contents

 

Cluster code

 

cluster 5
{
   flat = "$bgflatE2"
   music = "D_READ_M"
   entertext = lookup, "INTROE5"
   exittext = lookup, "OUTROE5"
}

LANGUAGE code

INTROE5 = "Just some text\n"
	"more text"

 

Screenshot_Doom_20180916_184948.png

 

EDIT: Nevermind, skipped ";", for delete

Edited by WatermelonPL

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Your LANGUAGE lump is broken, resulting in its text not being added to the dictionary, so the lookup fails and it displays the keyword as a fallback.

 

Try this instead:

INTROE5 = "Just some text\n"
	"more text";

Can you spot the difference?

Share this post


Link to post
  • 0

Note that GZDoom won't throw errors for missing semicolons in LANGUAGE, so always remember to check for them on all your strings as Gez pointed out.

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
×