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 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 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 Share this post Link to post
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