On ride check

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
Nosferatu
Journeyman Poster
Posts: 63
Joined: Fri Jul 21, 2006 9:58 pm

On ride check

Post by Nosferatu »

How i can chek if player is on horse or any other rideable npc ?
thnx
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Post by OldnGrey »

To see if a player is mounted, test for the mount layer on the player ......
25 is the layer on the character that 'holds' the mount.



var mounted := GetEquipmentByLayer(player, 25);
if ( mounted )
// insert lines that run only if player mounted
endif
Nosferatu
Journeyman Poster
Posts: 63
Joined: Fri Jul 21, 2006 9:58 pm

Post by Nosferatu »

U r really help's me big thnx for you.
Post Reply