Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register


This is a discussion on "Guards for Justice" in the Top Mud Sites MUD Coding forum :

Anyone know where I can find some ideas of how to add an apprehend skill to my mud to where the Justices send guards after someone who is wanted but they only stun then and trans them to a certain room. Also, i don't want the guards to kill anyone, i just want them to stun and trans them somewhere...any ideas?...



You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today!

If you have any problems with the registration process or your account login, please contact us.

If you are a registered member of the old TMS forums, please click here
Reply
 
LinkBack Thread Tools
Old 01-19-2003, 05:52 PM   #1
Verboden Faction
 
Posts: n/a
Anyone know where I can find some ideas of how to add an apprehend skill to my mud to where the Justices send guards after someone who is wanted but they only stun then and trans them to a certain room. Also, i don't want the guards to kill anyone, i just want them to stun and trans them somewhere...any ideas?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2003, 01:35 AM   #2
Davairus
Member
 
Join Date: Jun 2002
Posts: 142
Davairus is an unknown quantity at this point
we have that skill on Abandoned Realms.. and the cabal is even called Justice strangely enough.. anyways

for apprehend:

1) do a for loop through the room to make sure that the justice's special guard is here, you'll need to save him for later

2) for loop again, this time look for a criminal

3) make the guard attack the criminal

see, simple.

if you want the character to go to jail instead of die, this is way more easy than coding this.. just check in raw_kill.. interrupt that function with the transfer code
Davairus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2003, 03:40 AM   #3
JilesDM
Member
 
Join Date: Nov 2002
Posts: 66
JilesDM is on a distinguished road
The topic should be:

Guards for great Justice.
JilesDM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2003, 06:48 PM   #4
Verboden Faction
 
Posts: n/a
Thanks.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Style based on a design by Essilor
Copyright Top Mud Sites.com 2007