Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 03-10-2007, 02:20 AM   #1 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 21
Default Parrot/Parrot Perch

I have parrot animation in 2D, and am using the Magical Talking parrot script. I have the parrot drop as loot on Melisande as shrunken pet, and when double clicked gives you the parrot(always tamed, max loyality, and can't walk). As staff I can [move the parrot to the parrot perch and it jumps up on it. How would I go about making it so players could do this?
babyfoxx is offline   Reply With Quote
Old 03-10-2007, 02:51 AM   #2 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,753
Send a message via Yahoo to Lord_Greywolf
Default

using the interior decorator might work (might have to download mine from the script submission area for movement in the x & y directions)

or you can script the perch for ondoubleclick to target a parrot
then it places it in the right spot based on the perches location
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Old 04-11-2007, 12:34 PM   #3 (permalink)
Forum Novice
 
Join Date: Dec 2005
Posts: 112
Default

Quote:
Originally Posted by Lord_Greywolf View Post
using the interior decorator might work (might have to download mine from the script submission area for movement in the x & y directions)

or you can script the perch for ondoubleclick to target a parrot
then it places it in the right spot based on the perches location
How would you go about making it target the parrot, placing it on the perch, and have the parrot at the right altitude? Here's what I've got so far on the OnDoubleClick method. Running into kind of a dead end cause all the scripts that i've looked at don't deal with anything quite like this. Thanks.

Code:
        public override void OnDoubleClick(Mobile from)
        {
            if (!from.InRange(GetWorldLocation(), 1))
            {
                from.SendLocalizedMessage(500446); // That is too far away.
            }
        }
jeremymcc 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