Locking powers in trays


Hobbes

 

Posted

There's a great option that allows us to lock powers in trays so we dont drag them around when clicking madly during combat.

I'd like to be able to keybind it to toggle it on/off quickly, but I didnt find either a slash command to do that or the options in the keybind panel.


"Nothing is impossible for the man who doesn't have to do it himself." ~Midnight Flux's former boss.

There are usually two sides to every argument but no end.

Everything placed above this line is always IMHO, YMMV and quite certainly not to be taken too seriously....

 

Posted

You can likely do this using slash commands, specifically the various OPTION commands.

For Example:

Set the options to have the trays locked and then enter the following:

/option_save_file locked.txt

Then change the options to have the trays unlocked and enter the following:

/option_save_file unlocked.txt

Then, when you want to lock the trays use the following:

/option_load_file locked.txt

When you want them unlocked use the following:

/option_load_file unlocked.txt

You should be able to create a macro or bind for each of those option load commands so that you can easily switch the state of the trays.

Just remember, if you change any other options, you'll likely want to redo the first two commands so that the files will have the new settings.


If the game spit out 20 dollar bills people would complain that they weren't sequentially numbered. If they were sequentially numbered people would complain that they weren't random enough.

Black Pebble is my new hero.

 

Posted

Another possiblity would be to use the /option_set command.

I don't know exactly how it should be configured, but I think one of the following will work:

/option_set DisableDrag Enabled

or

/option_set DisableDrag 1

to enable locking the powers in the trays.

Then, to unlock them it should be either of these two:

/option_set DisableDrag Disabled

or

/option_set DisableDrag 0


You may be able to tell what the structure needed is by typing

/option_set DisableDrag

with no additional parameters. You will likely get an error message but it may give a clue as to whether the parameter is a numeric value (1 or 0) or a string value (Enabled or Disabled).

Again, these should be able to be bound to a key or put in a macro to make it easy to do. The benefit of this method would be that it is only affecting the locking of the trays and not all of the options.

EDIT: Since it is listed as being bugged currently and causing a client crash I wouldn't recommend using /option_toggle DisableDrag

EDIT Part Deux: Seeing Shadow State's post below let's me know that the 1 and 0 are the correct parameters to use.


If the game spit out 20 dollar bills people would complain that they weren't sequentially numbered. If they were sequentially numbered people would complain that they weren't random enough.

Black Pebble is my new hero.

 

Posted

Dynamic binds work, my 2 files are:
c:\cohkeybinds\DD\Drag_Off.txt

Code:
SUBTRACT "optionset disabledrag 1$$bindloadfilesilent c:\cohkeybinds\DD\Drag_On.txt"
c:\cohkeybinds\DD\Drag_On.txt
Code:
SUBTRACT "optionset disabledrag 0$$bindloadfilesilent c:\cohkeybinds\DD\Drag_Off.txt"
Obviously you should change the path to where ever you keep your files.