|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
|
ok here is my idea.i want the nightmare,unicorn,and ki-rin only ridable with 100 animal lore skill.how can i do this? i remember 2.0 does this thing (maybe i'm wrong) but i remember that people were make their animal lore 100 mount animal than decrease their lore and live happily ever after
![]() i thought i can make it onlogin() but how?sorry about english thanks |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
|
Probably the best solution. Just add a Login EventSink to the Nightmare class that apon login checks the nightmares rider, and if that riders animal lore is not >= to 100 it will boot them off. Also loot at warsteed from the factions engine to see how to keep them from just remounting the pet once they are kicked off it.
Good luck! ![]()
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
|
I got bored, here ya go this should work just fine. Add this to your nightmare class:
Code:
public static void Initialize()
{
EventSink.Login += new LoginEventHandler( EventSink_Login );
}
private static void EventSink_Login( LoginEventArgs args )
{
Mobile m = args.Mobile;
IMount mt = m.Mount;
if ( mt != null && mt is Nightmare && m.Skills[SkillName.AnimalLore].Value < 100 )
{
m.SendMessage("Place reason for dismounting here");
mt.Rider = null;
}
}
__________________
Father Time Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!" Server: UO: Extinction ICQ: 146563794 FatherTime@UOExtinction.com UO: Extinction homepage UO: Extinction forum |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|