|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
|
Description: Teleports all pets of a player to his location. [Default: In 30 Seconds]
AccessLevel: Player Usage: [Mypets Installation: Drop "Mypets.cs" file into your custom script folder. Why I coded: I think most people are looking for this script. Things to Edit: Open AnimalTrainer.cs: Code:
-----[ FIND ]-----
public void BeginStable( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
return;
-----[ FIND ]-----
public override bool HandlesOnSpeech( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
return false;
Open BaseMount.cs Code:
-----[ FIND ]-----
public override void OnDoubleClick( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
__________________
If you really want something in this life, you have to work for it. Now, quiet! they're about to announce the lottery numbers.
Last edited by Gordack; 05-20-2006 at 11:58 PM. |
|
|
|
|
#3 (permalink) |
|
Forum Expert
|
Nice idea!
Thanks for sharing! Liacs
__________________
;)My C# Bookshelf (carpented by Soultaker);) BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
|
|
|
|
|
#4 (permalink) | ||
|
Forum Novice
|
Quote:
Quote:
Thank you all.
__________________
If you really want something in this life, you have to work for it. Now, quiet! they're about to announce the lottery numbers.
|
||
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
|
Thanks for the post. ive updated you info a little if thats ok. thanks
Code:
This Script is coded by Gordack.
Installation: Drop "Mypets.cs" file into your custom script folder.
Things to edit:
AnimalTrainer.cs: - RunUO 1.0\Scripts\Mobiles\Vendors\NPC
-----[ FIND ]-----
public void BeginStable( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
return;
-----[ FIND ]-----
public override bool HandlesOnSpeech( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
return false;
BaseMount.cs - RunUO 1.0\Scripts\Mobiles\Animals\Mounts
-----[ FIND ]-----
public override void OnDoubleClick( Mobile from )
{
-----[ AFTER, ADD ]-----
if ( from.Frozen )
return;
also i added this part and i think i did it wrong. thanks again for any help Code:
public override bool HandlesOnSpeech( Mobile from )
{
if ( from.Frozen )
return false;
return true;
}
public override void OnSpeech( SpeechEventArgs e )
__________________
*+ MW Admin Naturescorpse +* |
|
|
|
|
#7 (permalink) | |
|
Forum Novice
|
Quote:
__________________
If you really want something in this life, you have to work for it. Now, quiet! they're about to announce the lottery numbers.
Last edited by Gordack; 05-22-2006 at 09:03 AM. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|