OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: FreeBird on 05 Mar 2007, 19:48:17

Title: New 1.05 Command:distributionRegion
Post by: FreeBird on 05 Mar 2007, 19:48:17
Testing is the only way,so pls post the result of:

Code: [Select]
hint format["%1" ,distributionRegion]
I have the German Metaboli Download version:result=2

One possible thing that can be done with it is checking the region/language  and passing briefing/instructions accordingly  :scratch:
Title: Re: New 1.05 Command:distributionRegion
Post by: Wolfrug on 05 Mar 2007, 22:29:10
AFAIK, ArmA already does that, as long as you have your language settings as appropriate (and in custom missions, your stringtable set up!). I really have no idea what that command might be good for.  ??? Nice find, anyway.

Wolfrug out.
Title: Re: New 1.05 Command:distributionRegion
Post by: h- on 05 Mar 2007, 23:01:05
The comref says it's for release regions, 1 = US and 2 = the rest ..

What you can use it for is beyond me though  :dunno:
Title: Re: New 1.05 Command:distributionRegion
Post by: FreeBird on 05 Mar 2007, 23:11:05
Meh I was hoping that Germany-Poland-UK-Czech-Russia ... all would have a different number... ::)

So if a Polish player was detected,U could present him a Polish Briefing.. :sorry:
Title: Re: New 1.05 Command:distributionRegion
Post by: h- on 18 Mar 2007, 11:15:25
If someone happens to care:

Just noticed where this command is used. It's used in the startup.sqs to show different loading screens depending on the distribution region.
So if the game is US version it gets the "Armed Assault: Combat Operations" screens while other regions get the regular ArmA stuff..

And btw,
Quote
if a Polish player was detected,U could present him a Polish Briefing
Like Wolfrug said ArmA does this automatically already, all language localisations have their own briefings..
briefing.Polish.html for example.