Ok, so in my map when one moster dies, another monster teleports (activated) to a certain point. As it arrives there it triggers several linedefs related to three different scripts. One of them is a text-script supposed to give a headsup to the player of what's going on. Now all three linedefs trigger correctly, this I've checked, but the text one still doesn't print the text for the players to read. This confuses me a lot. As I've said, I've checked so that it actually triggers by deliberately having the linedef refer to a non-existent script, which gives me an error message ingame when it occurs. Any other text message scripted in the same way works correctly. Does the Print or Hudmessage commands have a proximity limit? Is that my issue? How would I go about to solve that? Or do anyone have a better solution that works?
Anyway, I first tried using Print, using the following code:
Code: Select all
script 1 (void){ //Level 8 Text
Print(s:"\cfWhatever text");
}
Then, having no result with that I tried Hudmessage:
Code: Select all
script 1 (void){ //Level 8 Text
Hudmessage(s:"Whatever text"; HUDMSG_PLAIN, 1, CR_GOLD, 0.5, 0.5, 4.0);
}