Difference between revisions of "NDGII"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsLocInRegion() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsClusterRegionOnline()</p>Params<br>regionaddress - region address of region to check || Returns true if the specified region is currently running.
 +
|}
 +
</center>
 +
<p style="width: 60%;margin: 0 auto">Example</p>
 +
<div style="width:60%;margin: 0 auto">
 +
  CODE EXAMPLE BLOCK
 +
</div>
 +
<center>
 +
{| class="wikitable" | style="width: 60%"
 +
|-
 +
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsLocInRegion()</p>Params<br>location - location to check<br>regionname - name of region<br>Returns<br>bool - true if in the region, false if not || Returns if a location is in a region.
 +
|}
 +
</center>
 +
<p style="width: 60%;margin: 0 auto">Example</p>
 +
<div style="width:60%;margin: 0 auto">
 +
  CODE EXAMPLE BLOCK
 +
</div>
 +
 
 +
<center>
 +
{| class="wikitable" | style="width: 60%"
 +
|-
 +
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsOfficialShard()</p>Returns<br>bool - is this a CS official Shard || Returns true if this is a citadel studios official shard.
 
|}
 
|}
 
</center>
 
</center>
Line 17: Line 38:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsOfficialShard() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPassable()</p>Params<br>location - location to test || Is the specified location inside collision.
 
|}
 
|}
 
</center>
 
</center>
Line 24: Line 45:
 
   CODE EXAMPLE BLOCK
 
   CODE EXAMPLE BLOCK
 
</div>
 
</div>
 +
  
 
<center>
 
<center>
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPassable() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPluginLoaded()</p>Params<br>plluginname - plugin name to send to<br>Returns<br>bool - true if loaded, false if not || Ask if a c# gameplay plug-in has been loaded or not.
 
|}
 
|}
 
</center>
 
</center>

Latest revision as of 19:51, 23 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

Global Functions & Examples

IsClusterRegionOnline()

Params
regionaddress - region address of region to check
Returns true if the specified region is currently running.

Example

 CODE EXAMPLE BLOCK

IsLocInRegion()

Params
location - location to check
regionname - name of region
Returns
bool - true if in the region, false if not
Returns if a location is in a region.

Example

 CODE EXAMPLE BLOCK

IsOfficialShard()

Returns
bool - is this a CS official Shard
Returns true if this is a citadel studios official shard.

Example

 CODE EXAMPLE BLOCK

IsPassable()

Params
location - location to test
Is the specified location inside collision.

Example

 CODE EXAMPLE BLOCK


IsPluginLoaded()

Params
plluginname - plugin name to send to
Returns
bool - true if loaded, false if not
Ask if a c# gameplay plug-in has been loaded or not.

Example

 CODE EXAMPLE BLOCK