Welcome to PenUltima Online. Click to login or register.

Functions:

RegisterForSpeechEvents( at_object, range, flags := 0 )
Parameters:
Name Type
at_object UObject Reference
range Integer
flags Integer (optional)
Explanation
Player-character speech spoken within "range" tiles of "at_object" will generate speech events, which are sent to "at_object"'s control script (use wait_for_event() to retreive the event).
uo.em constants for flags: const LISTENPT_HEAR_GHOSTS := 0x01;
Return values
1 on success
Errors
"Invalid parameter type"
"Already registered for speech events"
Related
UObject
Item
Character