NDOIN
Object Functions & Examples
NpcSpeech() Paramssay - string to say speechtype - Type to send to the client for special processing "combat" for combat messages, "record or event" to always send message to a player's chat window, "discard" to not write to a player's chat log. Returns bool - true if valid false if not |
Causes the object to speak with overhead chat, making the object "talk". Does not play a sound. See PlayObjectSound(...) to play a sound. |
Example
CODE EXAMPLE BLOCK
NpcSpeechToUser() Paramssay - string to say saytype - Type to send to the client for special processing "combat" for combat messages, "record or event" to always send message to a player's chat window, "discard" to not write to a player's chat log gameobject - target user |
Causes the object to speak with overhead chat, making the object "talk" to a specific user.
Notes: Does not play a sound. See PlayObjectSound(...) to play a sound.. |
Example
CODE EXAMPLE BLOCK