|
Kaputchnik Beginner
Joined: 06 Jan 2002 Posts: 28 Location: Sweden
|
Posted: Sun Feb 10, 2002 9:18 pm
Enabling, disabling classes |
Ok, I am making a couple of sets of classes for moving around, one is called Quick-Move, which I have acces to all sorts of moving commands. One is called Party-Move which is strictly for partymoving, and one is called Sail-Move which is surprisingly enough for sailing. I am going to switch between the different classes with the help of the / key (DIV), and so far I've typed everything into the editor, but when I send it so zMud stores them there's the problem, somehow the last set of classes, becomes the only one working, and the / command which is supposed to change movement doesn't work, please help, here is the code so far:
#class Quick-Move
#key KEY7 {northwest}
#key KEY8 {north}
#key KEY9 {northeast}
#key KEY6 {east}
#key KEY3 {southeast}
#key KEY2 {south}
#key KEY1 {southwest}
#key KEY4 {west}
#key ADD {down}
#key SUB {up}
#key CTRL-KEY7 {party move northwest}
#key CTRL-KEY8 {party move north}
#key CTRL-KEY9 {party move northeast}
#key CTRL-KEY6 {party move east}
#key CTRL-KEY3 {party move southeast}
#key CTRL-KEY2 {party move south}
#key CTRL-KEY1 {party move southwest}
#key CTRL-KEY4 {party move west}
#key CTRL-ADD {party move down}
#key CTRL-SUB {party move up}
#key ALT-KEY7 {sail northwest}
#key ALT-KEY8 {sail north}
#key ALT-KEY9 {sail northeast}
#key ALT-KEY6 {sail east}
#key ALT-KEY3 {sail southeast}
#key ALT-KEY2 {sail south}
#key ALT-KEY1 {sail southwest}
#key ALT-KEY4 {sail west}
#key ALT-ADD {lower ladder}
#key ALT-SUB {raise ladder}
#key DIV {#class Quick-Move 0;#class Party-Move 1}
#key MULT {kill npc}
#class 0
#class Party-Move
#key KEY7 {party move northwest}
#key KEY8 {party move north}
#key KEY9 {party move northeast}
#key KEY6 {party move east}
#key KEY3 {party move southeast}
#key KEY2 {party move south}
#key KEY1 {party move southwest}
#key KEY4 {party move west}
#key ADD {party move down}
#key SUB {party move up}
#key MULT {party attack npc}
#key DIV {#class Party-Move 0;#class Sail-Move 1}
#class 0
#class Sail-Move
#key KEY7 {sail northwest}
#key KEY8 {sail north}
#key KEY9 {sail northeast}
#key KEY6 {sail east}
#key KEY3 {sail southeast}
#key KEY2 {sail south}
#key KEY1 {sail southwest}
#key KEY4 {sail west}
#key ADD {raise ladder}
#key SUB {lower ladder}
#key DIV {#class Sail-Move 0;#class Quick-Move 1}
#class 0
Been scratching my head over this for a couple of hours, looks easy, but somehow it was too much for me.
Cheers,
Kaputchnik |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Sun Feb 10, 2002 9:36 pm |
Try using #T- classname instead of #class classname 0 and #T+ classname instead of #class classname 1 and see if that does anything.
Iljhar |
|
|
|
Kaputchnik Beginner
Joined: 06 Jan 2002 Posts: 28 Location: Sweden
|
Posted: Sun Feb 10, 2002 9:49 pm |
Don't think I explained my problem correctly, my bad. Ok another try. The #class 0 is supposed to close the current class, so I can start adding settings not in the last class. But what happens is that it ignores all the #class 0, and just overwrites the keys in the Quick-Move class, so, KEY8 becomes sail north, since that was the last command stored into KEY8, even though it was in a different class, the other 2 classes does create, but they are completely empty. Hope I explained myself better this time.
Cheers,
Kaputchnik |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Feb 11, 2002 12:13 am |
This seems like a bug, try posting in the Beta Forum so Zugg has a chance to take a look at it. You can also e-mail him if you want.
Just in case you are wondering, the same thing happens in 6.26a.
Kjata |
|
|
|
|
|
|
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 vote in polls in this forum
|
|