Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Localizace  (Read 3297 times)

0 Members and 1 Guest are viewing this topic.

Hooke

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • View Profile
Localizace
« on: May 08, 2006, 10:02:53 AM »

Helou všem.

Potřebuju poradit s lokalizací. Jako test zkouším použít do Game.Msg() text ze string.tab, ale už jsem vyzkoušel snad všechny možné kombinace a buďto se objeví daný text v uvozovkách, nebo script error.

Mohl by mi tedy někdo poskytnout příklad, abych do Game.Msg() hodil například SYSENG0014 a na obrazovce se mi objevilo Texture setting?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Localizace
« Reply #1 on: May 08, 2006, 11:35:36 AM »

Game.Msg(Game.ExpandString("/SYSENG0014/Bla bla"));

Pricemz nektere prikazy (jako Talk) delaji expand string automaticky.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Hooke

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • View Profile
Re: Localizace
« Reply #2 on: May 08, 2006, 12:01:52 PM »

Game.Msg(Game.ExpandString("/SYSENG0014/Bla bla"));

Pricemz nektere prikazy (jako Talk) delaji expand string automaticky.

Já jsem úplně zapoměl, že tam existuje metoda ExpandString().

Fakt díky.
Logged
 

Page created in 0.021 seconds with 23 queries.