Jump to content
  • 0

entertext and exittext in cluster


WatermelonPL

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

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...