unbind and unbindaction

unbind and unbindaction

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

unbind and unbindaction

Post 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?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: unbind and unbindaction

Post by jK »

Actions are per-unit based commands (fight, attack, ...).
So specteam is obv. not an action.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: unbind and unbindaction

Post 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".
Post Reply

Return to “Help & Bugs”