Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 10-12-2004, 12:19 PM   #1 (permalink)
 
Join Date: Mar 2004
Posts: 42
Default Last Killer

When a player is killed by a pet, the player's last killer is the pet. How can I make the lastkiller variable show the pet's owner instead of the pet? I have searched through all my scripts for lastkiller and I can't find where its populated.
McClintock is offline   Reply With Quote
Old 10-12-2004, 03:18 PM   #2 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

Look in the constructor for the Corpse class. There's a line in there that sets the killer. Check if the killer is a basecreature and if it's controled then...you get the idea.
Sep102 is offline   Reply With Quote
Old 10-13-2004, 12:35 AM   #3 (permalink)
 
Join Date: Mar 2004
Posts: 42
Default

It worked. Thanks for the help!
McClintock is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5