I have tried to build a little unit selection.
That selects all spam units by typing ctrl+s and so on
I tryied in the selectionkeys.txt a lot. But
"Control_S AllMap+_NameContain_corak"OR"armpee+_ClearSelection_SelectAll+"
just won't work...
My question is how can you build in the "OR"...
I'm sure that the answer is just to simple to see for me.
Selecting varios Units
Moderator: Moderators
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Selecting varios Units
I think the question has a reason to belong here. It's sort of like lua because it can add things to the interface and the answer will be 'use lua'
The answer to the question is select keys can't use OR. Use lua, specifically Auto Groups. It's a widget in CA and available with the Lua module of Spring Dler, here's some info on it http://trac.caspring.org/wiki/CustomKeys
The answer to the question is select keys can't use OR. Use lua, specifically Auto Groups. It's a widget in CA and available with the Lua module of Spring Dler, here's some info on it http://trac.caspring.org/wiki/CustomKeys
Re: Selecting varios Units
The problem is not Lua, but Durchfalmann is apparently a wise newb who already knew that no matter the question, the answer always is: Use Lua!lurker wrote:That's.. not.. lua?
See?Google_Frog wrote:The answer to the question is select keys can't use OR. Use lua
Re: Selecting varios Units
Why would you need an or anyways? Just have it select both, and the majority f the time you'll only have one of the two anyways.