Monkeynutz

Fix combat storing for Virtual Garage.

4 posts in this topic

The script: ExileClient_gui_virtualGarageDialog_event_onConfirmButtonClicked.sqf is broken and also has backwards config in the config.cpp of the mission file. And since it won't be fixed any time soon, I am here to help!

Basically the variable name is wrong and the 1 or 0 is the wrong way around according to the instructions, should the name be right.

Quickest fix is the following:

Change 'canAccessGarageInCombat' to 'canUseGarageInCombat' in your config.cpp of your mission file and also do the opposite of what it tells you. E.g. it says 0 means you cannot store in combat, set it to 1 instead. And set it to 0 if you wish to allow storing in combat.

Enjoy.

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
Advertisement
On 4/14/2019 at 2:49 AM, Monkeynutz said:

The script: ExileClient_gui_virtualGarageDialog_event_onConfirmButtonClicked.sqf is broken and also has backwards config in the config.cpp of the mission file. And since it won't be fixed any time soon, I am here to help!

Basically the variable name is wrong and the 1 or 0 is the wrong way around according to the instructions, should the name be right.

Quickest fix is the following:

Change 'canAccessGarageInCombat' to 'canUseGarageInCombat' in your config.cpp of your mission file and also do the opposite of what it tells you. E.g. it says 0 means you cannot store in combat, set it to 1 instead. And set it to 0 if you wish to allow storing in combat.

Enjoy.

Nice find. An alternative fix would be to correct the behaviour in the function: https://pastebin.com/csFJ7XFs

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.