Jump to content
Dave247

Unit Launcher/Startup Parameter

Recommended Posts

In the official launcher I noticed that there is a startup parameter where you can set a selected Unit that you are in on startup. However, the problem I have with this is I wish to add this parameter to Arma3Sync but have no idea what the correct syntax for the parameter is in regards to the Unit name, especially when there is spaces involved.

 

What's more annoying is how after doing some googling I haven't been able to find mention of this parameter anywhere, and all of my trial and error attempts of using quotation marks, underscores or just leaving it plain has proved fruitless, so there must be something I'm missing. Is this new, undocumented parameter can only be used when launching the game from the official launcher? Or is there somethign else?

Share this post


Link to post
Share on other sites

It might not be a parameter at all. Maybe the launcher is just editing a config file when you change the parameter.

Share this post


Link to post
Share on other sites
On 6/30/2019 at 8:57 PM, Dedmen said:

It might not be a parameter at all. Maybe the launcher is just editing a config file when you change the parameter.

If that's the case then why is it listed under the parameters tab of the launcher, and even has a "-units" in the description for it?

 

This is seperate from selecting a Unit from the Dashboard tab.

Share this post


Link to post
Share on other sites

You can check what start parameters it passes to Arma in task manager

In the details view you can enable the "Commandline" column that gives you all parameters.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 7/2/2019 at 7:30 PM, Dedmen said:

You can check what start parameters it passes to Arma in task manager

In the details view you can enable the "Commandline" column that gives you all parameters.

Aha! Thanks so much for that, i'll have to remember it for the future.
I was previously trying to search for a file that the launcher would store the parameters in, but I didn't know where to look and exporting the launcher logs only shows the name of the parameters used during the last launch, but not the values.

 

So the solution worked and what I managed to find out is that the unit parameters works by passing a series of numbers to the game. In my case it was 

-unit=4881

Which is for the Unit Z Special Unit

 

That then creates another problem though in how one would actually find the number for their unit, as having to use the task manager to look at the command line isn't ideal by any means.

When looking at the Units website for Arma 3 I seem to have just happened to stumble on a soloton though. While it may not be the correct way it's simple enough to do which is good enough for me!

So the process is, when logged in to the https://units.arma3.com/my-units page it will list up to three units you are currently in (with 3 being the limit). When you click one of the big black boxes to select one of the unites, it expands to show more information but what's more important here is how the URL will also change to https://units.arma3.com/my-units#?unit=4881, where that number at the end is the one we need.

 

Thanks a lot @Dedmen for taking the time to respond to my topic and giving me the little extra help I needed in order to figure this out. If it wasn't for you then I likely would have just given up on it for not being that important.

Edited by Dave247
Added thanks to Dedmen

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×