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

Reply
 
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?
  Reply With Quote
Old 02-09-2003, 01:35 AM   #2
Davairus
Member
 
Join Date: Jun 2002
Posts: 157
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   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   Reply With Quote
Old 03-23-2003, 06:48 PM   #4
Verboden Faction
 
Posts: n/a
Thanks.
  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

All times are GMT -4. The time now is 05:56 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014