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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×