Author Topic: Can I get variables to show up in messages?  (Read 1603 times)

0 Members and 1 Guest are viewing this topic.

Can I get variables to show up in messages?
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? :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Can I get variables to show up in messages?
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).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]