Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Vanguard on March 10, 2006, 10:52:48 am

Title: Can I get variables to show up in messages?
Post by: Vanguard on March 10, 2006, 10:52:48 am
Number variables, that is?  Training messages or regular messages, I don't care.  I remember this was a big hurdle to my RTS idea a few years ago, maybe it's been remedied? :)
Title: Re: Can I get variables to show up in messages?
Post by: karajorma on March 10, 2006, 10:54:02 am
Yep. Simply put $variableName in the message wherever you want the variable to appear. This works equally well for string variables too.

This won't work for multiplayer though (Only the host machine will report the variable correctly).