Skip to content

PyMobile

Represents a Python-accessible mobile (NPC, creature, or player character). Inherits entity and positional data from .

Type: ushort

Type: ushort

Type: sbyte

Type: int

Type: int

Type: int

Type: bool

Type: bool

Type: int

Type: int

Type: int

Type: int

Type: int

Type: int

Type: bool

Type: bool

Type: bool

Type: Notoriety

Type: bool

Type: PyItem

Get the mobile’s Backpack item

Type: PyItem

Get the mobile’s Mount item (if mounted)

Type: string

The Python-visible class name of this object. Accessible in Python as obj.class .

No enums found.

(wait, timeout) Gets the mobile name and properties (tooltip text). This returns the name and properties in a single string. You can split it by newline if you want to separate them.

Parameters:

NameTypeOptionalDescription
waitbool✅ YesTrue or false to wait for name and props
timeoutint✅ YesTimeout in seconds

Return Type: string