Changing gameoptions message in the chat

Game development with Board Game Arena Studio
Post Reply
User avatar
disu
Posts: 62
Joined: 10 February 2016, 08:47

Changing gameoptions message in the chat

Post by disu »

Hi,
I have some option in my alpha game. When I change one of them in the lobby, a message appear in the chat to inform players.
  • Textual option (specified with 'values' => array(0 => array( 'name' => totranslate('XXXX') ), 0 => array( 'name' => totranslate('YYYY') )) ) insert a readable message in the chat.
  • Numeric option (specified with 'values' => array(0 => array( 'name' => 0), 1 => array( 'name' => 1)) ) shown a message like: "OPTION_NAME changes to:
    gameoptions_4913_2.
Question 1:
Maybe this is because numbers doesn't pass from translation engine (totranslate function)? I don't need to traslate them, how can I show in chat "OPTION_NAME changes to: 2"?

Question 2:
Seems that in studio also textual options are not shown correctly. How can I test it?

Thanks
Post Reply

Return to “Developers”