|
|||||||
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
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
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?
|
|
|
|
#2 |
|
Member
Join Date: Jun 2002
Posts: 142
![]() |
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 |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2002
Posts: 66
![]() |
The topic should be:
Guards for great Justice. |
|
|
|
|
|
#4 |
|
Posts: n/a
|
Thanks.
|
|