View topic - unbind and unbindaction



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: unbind and unbindaction
PostPosted: 08 Jan 2012, 12:21 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
My understanding was that typing ingame or having in your uikeys.txt:
Code:
unbindaction specteam

is the same as

Code:
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?


Top
 Offline Profile  
 
PostPosted: 08 Jan 2012, 16:25 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
Actions are per-unit based commands (fight, attack, ...).
So specteam is obv. not an action.


Top
 Offline Profile  
 
PostPosted: 08 Jan 2012, 17:08 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
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".


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.