Welcome to PenUltima Online. Click to login or register.

Functions:

TargetCoordinates( Character )
Parameters:
Name Type
Character Character Reference
Explanation
Sends a target cursor to a character's client, and waits for the player to target a ground tile.
Notes: Line-of-sight is not checked.
Return values
A Structure on success: members: structure.x,structure.y,structure.z,structure.realm - containing the location targetted. structure.objtype - containing the objtype of the static object targetted. Not always present members: structure.item contains an Item Reference to a dynamic item targetted. structure.mobile contains a Character Reference to a mobile targetted.
0 if the target cursor was cancelled or the client disconnected.
Errors
"Client has an active target cursor"
"Mobile has no active client"
"Invalid parameter type"
Related
Character