WatermelonPL Posted September 16, 2018 (edited) 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" EDIT: Nevermind, skipped ";", for delete Edited September 16, 2018 by WatermelonPL 0 Quote Share this post Link to post
0 Gez Posted September 16, 2018 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? 2 Quote Share this post Link to post
0 WatermelonPL Posted September 16, 2018 Ok, I fixed this earier 0 Quote Share this post Link to post
0 Nevander Posted September 16, 2018 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. 0 Quote Share this post Link to post
Question
WatermelonPL
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"
EDIT: Nevermind, skipped ";", for delete
Edited by WatermelonPLShare this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.