Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Alcander
Wanderer


Joined: 04 Aug 2001
Posts: 79
Location: USA

PostPosted: Thu May 23, 2002 1:17 am   

Button Question
 
I would like to use my keypad to do two sets of things, depending what mode I am in. Normal Mode I would walk normally, but I would like to be able to switch that somehow and go into PK mode where 'west' would now become 'charge west at X' type of deal. I am sure that this shouldn't be too complicated by its beyond my newbie abilities.

I use Zmud 6.26a

Thanks
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu May 23, 2002 7:35 am   
 
The standard keypad macros are in two Class folders, System|Keypad and System|KeypadDiag. There's no need to change them. Make another class (KeypadPK) to hold the PK macros. You can then use
#T- {System|Keypad};#T- {System|KeypadDiag};#T+ KeypadPK
to switch to PK and
#T- KeypadPK;#T+ {System|Keypad};#T+ {System|KeypadDiag}
to switch back to normal. These commands can be placed into an alias, trigger, button, macro, etc. for ease of use.

Sample PK macro:
#KEY4 {charge west at @target} {KeypadPK}

LightBulb
Vague questions get vague answers
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net