Lua API
On this page

Communication_HearRangedSpeech_S2C

Inherits from

A message to be displayed in the chat window, spoken by a nearby player, NPC or creature

Fields:

Message string

message text

Name string

sender name

ObjectId number

sender ID, must be between 0x50000001 and 0x6FFFFFFF to appear as clickable

Range number

broadcast range

Type ChatMessageType

message type

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string