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
Broven
Newbie


Joined: 19 Feb 2003
Posts: 1
Location: USA

PostPosted: Wed Feb 19, 2003 11:24 pm   

Xp scripting
 
I am having trouble making an xp script that I can start at one end of a xp area. Kill monsters then take coins and bury then move to next room and do the same thing. Any suggestions would be helpful.
Reply with quote
Hiryuu
Newbie


Joined: 27 Dec 2002
Posts: 9

PostPosted: Thu Feb 20, 2003 2:09 am   
 
Well, I suppose if you know the path you want to take through the area you can:

1. Set up triggers for the monsters in the area in a class
2. look in the room, and kill the first monster using that trigger
3. disable the class so the other monsters don't trigger
4. on the death message, bury the monster, reenable the class and look in the room again
5. I suppose you could have movement trigger on the room exits - if it gets to the room exits and hasnt disable the class with the trigger by fighting a monster, you will move to the next room on the path

Store the path in a variable and advance to the next direction it it each time you move.. sloppy but it would work.. and if you have no set path it would be much harder to do.

~Hiryuu

PS. Are you sure botting is allowed on the MUD you want to do this in?
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