Page 1 of 1

unbind and unbindaction

Posted: 08 Jan 2012, 12:21
by very_bad_soldier
My understanding was that typing ingame or having in your uikeys.txt:

Code: Select all

unbindaction specteam
is the same as

Code: Select all

unbind 1 specteam 0
unbind 2 specteam 1
unbind 3 specteam 2
unbind 4 specteam 3
etc.
Well, only "unbindaction specteam" does make the group keys work again. So it seems those commands are not identical. Is this a misconception on my side? Or did maybe the default bindings change so that "unbind 1 specteam 0" cannot find a valid binding to remove?

Re: unbind and unbindaction

Posted: 08 Jan 2012, 16:25
by jK
Actions are per-unit based commands (fight, attack, ...).
So specteam is obv. not an action.

Re: unbind and unbindaction

Posted: 08 Jan 2012, 17:08
by very_bad_soldier
Hm, well ok, but since there are no separate commands for actions and commands how does it make a difference?

Also, the trick seems to be that you must omit the command's arguments when unbinding. So a command bound with "bind 1 specteam 0" has to be unbind with "unbind 1 specteam" and not with "unbind 1 specteam 0".