Difference between revisions of "NDOIN"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <center><p style="width: 60%">[[NDOIA|A]][[NDOIB|B]][[NDOIC|C]][[NDOID|D]][[NDOIE|E]][[NDOIF|F]][[NDOIG|G]][[NDOIH|H]][[NDOII|I]][[NDOIJ|J]][[NDOIK|K]][[NDOIL|L]][[NDOIM|M]][[NDOIN|N]][[NDOIO|O]][[NDOIP|P]][[NDOIQ|Q]][[NDOIR|R]][[NDOIS|S]][[NDOIT|T]][[NDOIU|U]][[NDOIV|V]][[NDOIW|W]][[NDOIX|X]][[NDOIY|Y]][[NDOIZ|Z]]</p></center> | + | <p style="width:60%;margin: 0 auto">[[NewDawnHome|[Main]]] [[NDServerIndexScriptsMain|[Lua Examples]]]</p> |
+ | <center><p style="width: 60%">[[NDOIA|A]] [[NDOIB|B]] [[NDOIC|C]] [[NDOID|D]] [[NDOIE|E]] [[NDOIF|F]] [[NDOIG|G]] [[NDOIH|H]] [[NDOII|I]] [[NDOIJ|J]] [[NDOIK|K]] [[NDOIL|L]] [[NDOIM|M]] [[NDOIN|N]] [[NDOIO|O]] [[NDOIP|P]] [[NDOIQ|Q]] [[NDOIR|R]] [[NDOIS|S]] [[NDOIT|T]] [[NDOIU|U]] [[NDOIV|V]] [[NDOIW|W]] [[NDOIX|X]] [[NDOIY|Y]] [[NDOIZ|Z]]</p></center> | ||
<p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Object Functions & Examples</p> | <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Object Functions & Examples</p> | ||
Line 5: | Line 6: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">NpcSpeech() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">NpcSpeech()</p>Params<br>say - string to say<br>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.<br>Returns<br>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. |
|} | |} | ||
</center> | </center> | ||
Line 16: | Line 17: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">NpcSpeechToUser() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">NpcSpeechToUser()</p>Params<br>say - string to say<br>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<br>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.. | ||
|} | |} | ||
</center> | </center> |
Latest revision as of 08:04, 27 November 2019
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