Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: interactive actions
Re: New feature: interactive actions[message #360208 is a reply to message #360207]
|
Sat, 30 May 2020 19:26
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Hi San-Cat, welcome to the pit!
We can ask the game what language we are currently using while using lua scripts.
-- these numbers aren't used in the code - we only use them in LUA
Languages =
{
LANGUAGE_ENGLISH = 0,
LANGUAGE_GERMAN = 1,
LANGUAGE_RUSSIAN = 2,
LANGUAGE_DUTCH = 3,
LANGUAGE_POLISH = 4,
LANGUAGE_FRENCH = 5,
LANGUAGE_ITALIAN = 6,
LANGUAGE_CHINESE = 7,
}
if ( GetUsedLanguage( nil ) == Languages.LANGUAGE_ENGLISH ) then
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "The prisoners are very grateful for freeing them.")
elseif ( GetUsedLanguage( nil ) == Languages.LANGUAGE_GERMAN ) then
SetScreenMsg(FontColour.FONT_MCOLOR_LTGREEN, "Die Gefangenen sind für die Befreiung sehr dankbar.")
else
SetScreenMsg(FontColour.FONT_MCOLOR_DKRED, "Translation missing!")
end
So translations are easily doable. Provided there is some poor soul willing to do the work
[Updated on: Sat, 30 May 2020 19:26]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
New feature: interactive actions
By: Flugente on Tue, 02 August 2016 21:21
|
|
|
Re: New feature: interactive actions
By: Flugente on Tue, 02 August 2016 21:21
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: ratpaz on Tue, 02 August 2016 22:07
|
|
|
Re: New feature: interactive actions
By: Kerghnox on Wed, 03 August 2016 00:55
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 03 August 2016 02:15
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 03 August 2016 13:33
|
|
|
Re: New feature: interactive actions
By: Elvis_A on Wed, 03 August 2016 21:21
|
|
|
Re: New feature: interactive actions
By: Slax on Thu, 04 August 2016 00:53
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Fri, 05 August 2016 21:52
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 10 August 2016 01:42
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 10 August 2016 20:57
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Thu, 11 August 2016 01:13
|
|
|
Re: New feature: interactive actions
By: Julix on Thu, 11 August 2016 08:44
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Kitty on Wed, 19 February 2020 03:36
|
|
|
Re: New feature: interactive actions
By: San-Cat on Sat, 30 May 2020 19:10
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
Goto Forum:
Current Time: Tue Dec 03 03:50:48 GMT+2 2024
Total time taken to generate the page: 0.01105 seconds
|