Difference between revisions of "NDOIL"
Line 5: | Line 5: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LogChat() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LogChat()</p>Params<br>source - chat source<br>chatlog - chat log || Write a line to the chat log for this user. |
|} | |} | ||
</center> | </center> | ||
Line 16: | Line 16: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LuaGameObj(objectid) || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LuaGameObj(objectid)</p>Params<br>objectid - id of the given object<br>Returns<br>gameobject a copy of a gameobject || Creates a GameObj reference to the specified id. The ONLY time you should use this is when a client sends an object id from a script command. |
|} | |} | ||
</center> | </center> |
Latest revision as of 07:58, 27 November 2019
Object Functions & Examples
LogChat() Paramssource - chat source chatlog - chat log |
Write a line to the chat log for this user. |
Example
CODE EXAMPLE BLOCK
LuaGameObj(objectid) Paramsobjectid - id of the given object Returns gameobject a copy of a gameobject |
Creates a GameObj reference to the specified id. The ONLY time you should use this is when a client sends an object id from a script command. |
Example
CODE EXAMPLE BLOCK