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


Joined: 15 Feb 2001
Posts: 20
Location: USA

PostPosted: Tue Dec 17, 2002 6:57 pm   

Setting @target to none and other questions
 
(perhaps usless info at the beginning)i am going to create multiple classes based on setting target for a particular race.
I hit PP and it sets the @ target for phantom and that sets my F1-F5 keys target for particular spells against phantom. et al
Some of the problems i am having involve getting a correct @target made that will allow me to set the @target for 2.victim 3.victim etc.. my @target wont compensate for the neccessary #.victim..
The other is problem i have is setting a key or class alias to set my target back to none.

any help is greatly appreciated
Reply with quote
Toetag
Magician


Joined: 10 Oct 2000
Posts: 356
Location: USA

PostPosted: Thu Dec 19, 2002 1:57 am   
 
not sure how you are setting your @target but you might possibly be able to use a "target list" with additem, delitem functions.

@monsters = Dog|Cat|Tree

then setup an alias PP1, PP2, PP3 which sets the @target with the item function.

PP1
target = item(@monsters,1)

PP2
target = item(@monsters,2)

PP3
target = item(@monsters,3)

it would be a little tricky to set your variable list, but with triggers or other aliases you could do it.

Note: syntax in these examples might not be correct, check the help files. If you need further assistance just let me know and I'll play around and make the script and test it.


Killing a fly on a friends forhead may not be overkill, use a hatchet to make sure the job is done.
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