This is an awesome script originally created by Quick Silver. (header is intact.) All I did was update a couple errors so it now works with RunUO 2.5, ServUO, and JustUO.
It allows you to take full control over an NPC.
If you want to automatically uncontrol the npc when the npc dies open up your playermobile.cs file and under the OnBeforeDeath() function add the folliowing. (optional)
It allows you to take full control over an NPC.
If you want to automatically uncontrol the npc when the npc dies open up your playermobile.cs file and under the OnBeforeDeath() function add the folliowing. (optional)
Code:
if (Server.Commands.ControlCommand.UncontrolDeath( (Mobile)this ))
{
return base.OnBeforeDeath();
}