RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

[2.x] No Mount Blocker Tile 1.0

No permission to download

lestatzero

Sorceror
lestatzero submitted a new resource:

No Mount Blocker Tile (version 1.1) - Prevents Players from Passing Past Tile if Mounted

Simple Tile that you can place infront of Doorways Or enterances to Specific areas to not allow access if a Player is Mounted.

If you are a Staff member you can pass without issue.

Drop into your Custom Scripts Folder and reboot

[add NoMountTile

Tile is not Visible and Not Movable by Default.
Requires the Bitties Tools for the addon Properties Tag.

Tested on Runuo 2.1

Hope you enjoy

Updated 8/18 Thanks to Acidev for the quick Debug. Just replace current script with new one.



Read more about this resource...
 

Attachments

  • NoMountTile.cs
    1.4 KB · Views: 1

acidev

Traveler
Thanks, but you should call it "everything but mounted-staff blocker tile".
Line 34 and line 35 are wrong :p

I guess that's better:

Code:
public override bool OnMoveOver( Mobile from )
        {
                if( from.Mounted && from.AccessLevel == AccesLevel.Player)
                    return false;
 
                return base.OnMoveOver( from );
        }
 

lestatzero

Sorceror
Thanks, but you should call it "everything but mounted-staff blocker tile".
Line 34 and line 35 are wrong :p

I guess that's better:

Code:
public override bool OnMoveOver( Mobile from )
        {
                if( from.Mounted && from.AccessLevel == AccesLevel.Player)
                    return false;
 
                return base.OnMoveOver( from );
        }

Thanks I was working on 3 different things @ the same time...
Updated Script ... Credit given for the quick debug :cool:

(Update in Main Post )
 
Top