NDGID

From Legends of Aria Admin and Modding Wiki
Revision as of 04:50, 18 November 2019 by Gizmo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[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

Global Functions & Examples

DebugGetAvgFrameTime()

Returns the average running frametime of simulation thread.

Example

 CODE EXAMPLE BLOCK

DebugMessage()

Params
(...) One or more strings to be written. A space is inserted between each argument
Writes a message to the debug console and/or lua logs.

Example

 CODE EXAMPLE BLOCK

DeleteCharacter()

Params
userid - userid to player to delete
charid - characterId record to delete
Deletes a given character, requires a userId and valid characterId.

Example

 CODE EXAMPLE BLOCK

DelView()

Params
eventid - event identifier of the view to remove
Remove an object search subscription.

Example

 CODE EXAMPLE BLOCK

DestroyAllObjects()

Params
bool - ture/false to destroy no reset objects, defaults to false
responseidentifier - the signal when this command has completed
Sends a request to the object database.

Example

 CODE EXAMPLE BLOCK

DiceRoll()

Params
numdice - number of dice to roll
numsides - number of sides of the dice
Rolls n-dice with k-sides (max 100 dice with 1,000 sides) and returns the summed total.

Example

 CODE EXAMPLE BLOCK