Code: Select all
#include "zcommon.acs"
script 1 OPEN
{
print(s:"test");
delay(35);
HudMessage(s:"Message text here"; HUDMSG_PLAIN, 0, CR_YELLOW, 1.5, 1.5, 4.0);
}
Code: Select all
#include "zcommon.acs"
script 1 OPEN
{
print(s:"test");
delay(35);
HudMessage(s:"Message text here"; HUDMSG_PLAIN, 0, CR_YELLOW, 1.5, 1.5, 4.0);
}
Code: Select all
HudMessage(s:"Message text here"; HUDMSG_PLAIN, 0, CR_YELLOW, 1.5, 0.5, 4.0);
........ *makes a note of that*JonnyFive wrote:Kind of. x=1.5 means center of x, center each line.
Actually, that's not true. I don't know why it's not true, but open scripts can put print and hudmessages on screen. Perhaps because it is something that existed waaaaay back with HeXen's original ACS? Anyway, the above (modified) script works perfectly as an open script.HotWax wrote:While that does fix part of the problem, the message still won't be drawn because he's also printing it out of an [wiki=Script_types#OPEN]OPEN[/wiki] script.
Confirmed. Back when I confused OPEN for ENTER I used OPEN scripts for opening it up with lines of text. They worked as intended -- without using the hudmessagebold modifier.Enjay wrote:Actually, that's not true. I don't know why it's not true, but open scripts can put print and hudmessages on screen. Perhaps because it is something that existed waaaaay back with HeXen's original ACS? Anyway, the above (modified) script works perfectly as an open script.HotWax wrote:While that does fix part of the problem, the message still won't be drawn because he's also printing it out of an [wiki=Script_types#OPEN]OPEN[/wiki] script.