Difference between revisions of "NDOIF"
Line 5: | Line 5: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FindNearestObject() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FindNearestObject()</p>Params<br>objectsearcher - object searcher to use<br>Returns<br>table array of objects matching criteria || Returns the closest object that matches the search criteria. This only works on objects in the world. |
|} | |} | ||
</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">FireTimer() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FireTimer()</p>Params<br>name - name of timer(identifier)<br>(...) One or more object arguments to be passed to the Timer event. Function references are not supported || Fire a timer event immediately. |
|} | |} | ||
</center> | </center> | ||
Line 27: | Line 27: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FireTimerAsync() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FireTimerAsync()</p>name - name of timer(identifier)<br>(...) One or more object arguments to be passed to the Timer event. Function references are not supported || Fire a timer event on the next object update. |
|} | |} | ||
</center> | </center> | ||
Line 38: | Line 38: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ForceObjectUpdate() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ForceObjectUpdate()</p>Params<br>gameobject - user object to send the update to || Force the engine to send an object update to a specific user. |
|} | |} | ||
</center> | </center> |
Latest revision as of 06:29, 27 November 2019
Object Functions & Examples
FindNearestObject() Paramsobjectsearcher - object searcher to use Returns table array of objects matching criteria |
Returns the closest object that matches the search criteria. This only works on objects in the world. |
Example
CODE EXAMPLE BLOCK
FireTimer() Paramsname - name of timer(identifier) (...) One or more object arguments to be passed to the Timer event. Function references are not supported |
Fire a timer event immediately. |
Example
CODE EXAMPLE BLOCK
FireTimerAsync() name - name of timer(identifier)(...) One or more object arguments to be passed to the Timer event. Function references are not supported |
Fire a timer event on the next object update. |
Example
CODE EXAMPLE BLOCK
ForceObjectUpdate() Paramsgameobject - user object to send the update to |
Force the engine to send an object update to a specific user. |
Example
CODE EXAMPLE BLOCK