Results 1 to 5 of 5

Thread: Scripting : How change hintstring when Press button.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private milepunta's Avatar
    Join Date
    Jan 2014
    Location
    Croatia, Pula
    Posts
    27
    Thanks
    14
    Thanked 26 Times in 11 Posts
    what is the difference if you use localizedstrings or just text in scripts?
    Last edited by milepunta; 6th March 2018 at 00:30.
    As you once said I'm nothing but a monster!

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by milepunta View Post
    what is the difference if you use localizedstrings or just text in scripts?
    You can localize your text (one identifier-string in your code - multiple languages in the game).
    However, you need to precache your localized string in your script (precacheString() iirc) and you have to add your translations in a file, i guess it was somename.localized or sth like that.

    You also could use libcod for that.

  3. The Following User Says Thank You to serthy For This Useful Post:

    milepunta (6th March 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •