Author Topic: Can't use variables in messages  (Read 1586 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Can't use variables in messages
I've already submitted this one to Mantis but at the moment any attempt to send a variable in a message instantly causes a lock for me.

This is causing me some problems as I use the feature quite heavily in SoR.

Anyone else getting this?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

  

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Can't use variables in messages
Fixed. :p

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Can't use variables in messages
Wow, that's service :)
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Can't use variables in messages
That's why people should use mantis rather than just moaning about it on the forums :D

Thanks a lot Goober :) While this is open what's the token to get the player's callsign inserted into a message? I thought it was $callsign but I've tried that in the briefing, for briefing icons and in messages and it doesn't do the substitution it simply outputs $callsign instead.

I get the same for $rank and $player as were suggested in this thread.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Can't use variables in messages
For briefing icons, I think there's a way to do it.  At least there was in FS1, where your fighter icon is your callsign in the first training mission.

Got it.  Use "Player fighter" of "Player bomber" as your icon (don't change the label) rather than just "Fighter" and see what happens.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Can't use variables in messages
Quote
Originally posted by karajorma
That's why people should use mantis rather than just moaning about it on the forums :D
Or even instead. :p I saw it on Mantis before I saw it here.
Quote
Thanks a lot Goober :) While this is open what's the token to get the player's callsign inserted into a message? I thought it was $callsign but I've tried that in the briefing, for briefing icons and in messages and it doesn't do the substitution it simply outputs $callsign instead.
Em. :wtf: They've all been implemented for ages and they should all work. :( I guess Mantis again.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Can't use variables in messages
Quote
Originally posted by Goober5000
Or even instead. :p I saw it on Mantis before I saw it here.


Yeah but if I'd done that I would have been deprived of the opportunity to moan about it on the forums :p


Quote
Originally posted by Goober5000
Em. :wtf: They've all been implemented for ages and they should all work. :( I guess Mantis again.


I'd never gotten around to trying them due to the way most of my missions are set up so I wasn't certain if I was doing anything wrong.

I'll make up a test mission and post it up to Mantis.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Can't use variables in messages
Quote
Originally posted by karajorma
Thanks a lot Goober :) While this is open what's the token to get the player's callsign inserted into a message? I thought it was $callsign but I've tried that in the briefing, for briefing icons and in messages and it doesn't do the substitution it simply outputs $callsign instead.
Actually it occured to me that these two problems were probably caused by the same bug.  Try again once a new CVS build is posted.