OK I want to display a welcome message when the game starts like "WElecome to my map, by smartaiguy!!". I also would like to add a message when you going to team. Like "Welcome to the battlefield, go get em." I don't want to change the localization file so it gets changed allover just my map. I know I should use this:
iprintlnbold_noloc "Text" will make that cliking sound and display the text in bold white on the left of the screen.
iprintln "text" will print the text in yellow on the left with no sound.
You can put either under "level waittill spawn" or prespawn.
A third way is to place a trigger_multiple around each player spawn spot and set:
Key: message
Value: The text of your message!!!
Key: count
Value: 1
That prints the message in the middle of the screen in non-bold white.
For the welcome a nice loading screen is what you want. There is a tutorial here in the scripting forum for that (Sticky: Loadingscreens De-Mystified) .
Last edited by tltrude on Thu Oct 30, 2003 2:06 am, edited 1 time in total.
This only prints the text to the players that are currently on the server. Generally, immediately after server spawn there are no players in the game yet, so nobody will see the message. If you use this:
level waittill spawn
wait 2
iprintlnbold_noloc "Man your Battelstations!!"
You will see the message but players who join later won't