by Fatlaser » Fri Dec 01, 2006 17:56
Allow me to be more specific. I want a Hudmessage to come up 150 tics after passing over a line. I would like it to see if I picked up a chaingun, if I did say one thing, if I didn't, say another thing.
Edit: Heres the script so far..:
Code: Select all
Script 2 (void)
{
Delay(150);
if (CheckInventory ("Chaingun"));
HudmessageBold(s:"Very smart.
\nYou picked up the chaingun that the Chaingunner dropped.";HUDMSG_TYPEON,0,3,0.0,1.0,15);
if (checkinventory("Chaingun"));
Hudmessage(s: "Idiot, go get the chaingun!
\nIt will help you out later.";HUDMSG_TYPEON,0,6,0.0,1.0,15);
}
Allow me to be more specific. I want a Hudmessage to come up 150 tics after passing over a line. I would like it to see if I picked up a chaingun, if I did say one thing, if I didn't, say another thing.
Edit: Heres the script so far..:[code]Script 2 (void)
{
Delay(150);
if (CheckInventory ("Chaingun"));
HudmessageBold(s:"Very smart.
\nYou picked up the chaingun that the Chaingunner dropped.";HUDMSG_TYPEON,0,3,0.0,1.0,15);
if (checkinventory("Chaingun"));
Hudmessage(s: "Idiot, go get the chaingun!
\nIt will help you out later.";HUDMSG_TYPEON,0,6,0.0,1.0,15);
}[/code]