Difference between revisions of "NDOID"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
Line 27: Line 27:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DelObjVar() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DelObjVar()</p>Params<br>objvar - name of the variable to delete<br>Returns<br>bool - true if worked, false if not || Removes a given object variable from an object. Remember to make sure it exists first.
 
|}
 
|}
 
</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">DeleteCharacter() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DeleteCharacter()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 49: Line 49:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">Destroy() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">Destroy()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 60: Line 60:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DistanceFrom() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DistanceFrom()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 71: Line 71:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DistanceFromSquared() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">DistanceFromSquared()</p> || .
 
|}
 
|}
 
</center>
 
</center>

Revision as of 07:13, 25 November 2019

[Main] [Lua Examples]

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Object Functions & Examples

DecayScheduled()

Returns
bool - true if has decay scheduled or note
Returns true/false if the object has decay schedule on it.

Example

 CODE EXAMPLE BLOCK

DelModule()

Params
filename - filename to the given script
Returns
bool - returns ture if worked, false if not existing
Removes a script module, preventing it from executing any more code. Removes all event handlers code as well from this object.

Example

 CODE EXAMPLE BLOCK

DelObjVar()

Params
objvar - name of the variable to delete
Returns
bool - true if worked, false if not
Removes a given object variable from an object. Remember to make sure it exists first.

Example

 CODE EXAMPLE BLOCK

DeleteCharacter()

.

Example

 CODE EXAMPLE BLOCK

Destroy()

.

Example

 CODE EXAMPLE BLOCK

DistanceFrom()

.

Example

 CODE EXAMPLE BLOCK

DistanceFromSquared()

.

Example

 CODE EXAMPLE BLOCK