Posted by Osan`gar on February 07, 1998 at 13:07:13:
In Reply to: Another COG Question posted by Rishka on February 07, 1998 at 12:56:36:
> OK, I have another COG question for you guys.... how can you send a message to all players (for instance, like when someone dies it says "So-and-so has become one with the force")?? Thanx in advance...
jkPrintUNIString(-3, message#) is often used. The -3 means to send it to all players. The message number is the final 4 digits in cogstrings.uni. You can use that method if you want, adding your message to the cogstrings.uni file, or you can just you Print(). (I think you can use the Print() verb to send to all players, but I am not completely sure. Would have to have someone to back me up on that one, but I am positive about the jkPrintUNIString() verb.)
Also used is the jkStringConcatUNIString() verb with the same elements. It will concatenate a string to what is already on the string. Not sure about how to print someones name, I'll have to look and get back to you on that one.