Difference between revisions of "NDOIO"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">OpenDynamicWindow()</p> || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">OpenDynamicWindow()</p>Params<br>dynamicwindow - dynamic window object to send to the user<br>gameobject - object to send dynamicwindowresponse event to || Send a constructed dynamic window object to a client.
 
|}
 
|}
 
</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">OpenCustomContextMenu()</p> || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">OpenCustomContextMenu()</p>Params<br>responseid - response id<br>menutitle - menu title string<br>table - array of menu options<br>gameobject - object to recieve the response event || Opens a radial menu on the attached user with the specified options
 +
NOTE: This only works on objects with an attached player.
 
|}
 
|}
 
</center>
 
</center>

Latest revision as of 08:09, 27 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

OpenDynamicWindow()

Params
dynamicwindow - dynamic window object to send to the user
gameobject - object to send dynamicwindowresponse event to
Send a constructed dynamic window object to a client.

Example

 CODE EXAMPLE BLOCK

OpenCustomContextMenu()

Params
responseid - response id
menutitle - menu title string
table - array of menu options
gameobject - object to recieve the response event
Opens a radial menu on the attached user with the specified options

NOTE: This only works on objects with an attached player.

Example

 CODE EXAMPLE BLOCK