Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

HorseLayer

Returns layer number 0x19 - returns saddle ID, if char is mounted.

NB: Saddle ID is NOT same as “Horse” ID.

Pascal

function HorseLayer():Byte

Python

HorseLayer()

Example 1:

if ObjAtLayer(HorseLayer) = 0 then 
  UseObject(HorseID));