PyEntity
Class Description
Section titled “Class Description”Represents a Python-accessible entity in the game world, such as a mobile or item.
Inherits basic spatial and visual data from
Properties
Section titled “Properties”Distance
Section titled “Distance”Type: int
Type: string
__class__
Section titled “__class__”Type: string
The Python-visible class name of this object.
Accessible in Python as
Serial
Section titled “Serial”Type: uint
The unique serial identifier of the entity.
No enums found.
Methods
Section titled “Methods”ToString
Section titled “ToString”Returns a readable string representation of the entity. Used when printing or converting the object to a string in Python scripts.
Return Type: string
SetHue
Section titled “SetHue”(hue)
Parameters:
Name | Type | Optional | Description |
---|---|---|---|
hue | ushort | ❌ No |
Return Type: void
(Does not return anything)