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
raks
Beginner


Joined: 30 Jan 2002
Posts: 24
Location: USA

PostPosted: Sun Mar 03, 2002 11:01 pm   

killing certian mobs
 
okay here is my idea i want
okay i just 4 macros to kill mobs
f5-f8
#CLASS {Chars|Chaynal|killing-mobs}
#VAR attacking {manscorpion}
#KEY PGUP {enter portal}
#KEY F6 {punch @attacking}
#KEY F5 {sweep @attacking}
#BUTTON 28 {Attacking} {#pr attacking} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#CLASS 0

but i want to know is. Is there a way to set the button to only attack certian mobs
with out have to use the word mob which attacks all the mobb. i want to attack 2 certian mobs tho a manscorpion guard, and rat only
and if i wanted to set to attack more then one player if i choose to
i know how to set it to one mob at a time but i get tired of having to hit the button to change manscorpion to guard or rat each time i come up the one of those mobs.
hope someone understands what i am wanting.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Mar 04, 2002 6:35 pm   
 
Use any key combinations you prefer:

#KEY {ALT-M} {#VAR attacking manscorpion}
#KEY {ALT-R} {#VAR attacking rat}
#KEY {ALT-G} {#VAR attacking guard}


LightBulb
All scripts untested unless otherwise noted
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Thu May 09, 2002 11:19 pm   
 
i like but i don't want to have to hit a diffrent button just to switch between them
i'd like to switch between them as i fight killing one then it changes the the next mob.
say i kill the manscropion and eather the rat or guard are int he room but there is also a mob called golem in the room but i don't want to end up attacking the golem
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri May 10, 2002 7:16 am   
 
For that you will need triggers.
#TR {is dead} {kill @attacking}
#TR {you don't see that here} {#CASE {%ismember(@attacking,"manscorpion|guard|rat")} {#VAR attacking guard;kill guard} {#VAR attacking rat;kill rat} {#VAR attacking manscorpion;kill manscorpion}} {attackmode}
#AL stop {#T- attackmode}

Of course, this will keep trying to find something to attack until it's disabled. That's what the alias is for.

LightBulb
Vague questions get vague answers
Reply with quote
Raksasas
Novice


Joined: 09 Aug 2001
Posts: 39
Location: USA

PostPosted: Sun May 12, 2002 11:22 pm   
 
are there any othere ways of doing it?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon May 13, 2002 2:05 am   
 
I'm sure there are. Perhaps you should try thinking about it and see if you can come up with one.

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