Function: DisplayText(player, type, text)
Description:
Displays Channel Text on the Player's screen (without a Spawn attributed with a name, just a plain message). The type are based on channel types in https://github.com/emagi/eq2emu/blob/main/docs/data_types/channel_types.md and support will vary on client version.
Parameters:
player(Spawn) - Spawn object representingplayer.type(uint8) - Integer valuetype.text(string) - Stringtext.
Returns: None.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.