Include (new)
Arrays
include "include/arrays";ImplodeArray()
ImplodeArray( glue, byref the_array );GetArrayRange()
GetArrayRange( byref the_array, start, stop:=0 );BreakArray()
BreakArray( byref the_array, size:=1 );FindInArray()
FindInArray( byref the_array, find_what );RemoveFromArray()
RemoveFromArray( byref x_array, match );Facings
TurnObjectToward()
IsFacing()
IsBehind()
GetPointsByFacing()
itemUtil
useItem_check()
EmptyHands_Check( )
Landtiles
IsMinable()
IsSand()
IsSwamp()
IsTree()
objType
IsWater()
Occupied
Used to determine if a player is 'busy'.
IsOccupied()
Determines if a mobile is already doing something.
Shapes
GetCoordsInSquare()
Retrieves the coordinates in the area of a square.
Parameters
Description
mid_x
X coordinate of the middle of the square.
mid_y
Y coordinate of the middle of the square.
radius
Size of the square
GetCoordsInRect()
Retrieves the coordinates in the area of a rectangle.
GetCoordsInCircle()
Retrieves the coordinates in the area of a circle.
Parameters
Description
mid_x
X coordinate of the middle of the square.
mid_y
Y coordinate of the middle of the square.
GetCoordsInPolygon()
Takes in an array of structs containing .x, .y coordinates. Each point is a segment that builds the shape. Finds the coordinates inside of that shape.
Parameters
Description
coord_list
Array of structs. Each struct contains an x and y member.
uo_extend
CONST
For: EnumerateOnlineCharactersABC()
For: GetIsAType()
For: ListMobilesInRange()
EnumerateOnlineCharactersABC()
EnumeratePhysicalItems()
GetIsAType()
GetIsAName()
ListMobilesInRange()
FindMatchingObjtypeInContainer()
DupeItem()
util_extend
RandomIntRange()
Generates a random number >= min and <= max.
Parameters
Description
min_val
The minimum number that can be generated.
max_val
The maximum number that can be generated.
RandomFloatRange()
Last updated
Was this helpful?