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

GetNextStepZ

Result is calculated Z for the next step (in next tile).

if char disconnected, or no uo files loaded - returns 0.

Pascal Syntax:

function GetNextStepZ(CurrX,CurrY, DestX, DestY : Word; WorldNum : byte; Z : ShortInt) : ShortInt;

Python Syntax:

def GetNextStepZ(CurrX, CurrY, DestX, DestY, WorldNum, CurrZ): --> byte