Difference between revisions of "NDGIF"
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<center><p style="width: 60%">[[NDGIA|A]] [[NDGIB|B]] [[NDGIC|C]] [[NDGID|D]] [[NDGIE|E]] [[NDGIF|F]] [[NDGIG|G]] [[NDGIH|H]] [[NDGII|I]] [[NDGIJ|J]] [[NDGIK|K]] [[NDGIL|L]] [[NDGIM|M]] [[NDGIN|N]] [[NDGIO|O]] [[NDGIP|P]] [[NDGIQ|Q]] [[NDGIR|R]] [[NDGIS|S]] [[NDGIT|T]] [[NDGIU|U]] [[NDGIV|V]] [[NDGIW|W]] [[NDGIX|X]] [[NDGIY|Y]] [[NDGIZ|Z]]</p></center> | <center><p style="width: 60%">[[NDGIA|A]] [[NDGIB|B]] [[NDGIC|C]] [[NDGID|D]] [[NDGIE|E]] [[NDGIF|F]] [[NDGIG|G]] [[NDGIH|H]] [[NDGII|I]] [[NDGIJ|J]] [[NDGIK|K]] [[NDGIL|L]] [[NDGIM|M]] [[NDGIN|N]] [[NDGIO|O]] [[NDGIP|P]] [[NDGIQ|Q]] [[NDGIR|R]] [[NDGIS|S]] [[NDGIT|T]] [[NDGIU|U]] [[NDGIV|V]] [[NDGIW|W]] [[NDGIX|X]] [[NDGIY|Y]] [[NDGIZ|Z]]</p></center> | ||
<p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Global Functions & Examples</p> | <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Global Functions & Examples</p> | ||
+ | |||
+ | <center> | ||
+ | {| class="wikitable" | style="width: 60%" | ||
+ | |- | ||
+ | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">FindObject()</p>Params<br>ObjectSearcher - object searcher to use<br>gameobject - Optional source object(default:object current behavior is attached to)<br>Returns<br>gameobject - first object matching the criteria || Return the first object that matches the search criteria.The source object is always excluded from the search.The source object location is used as the search center for most searchers | ||
+ | |} | ||
+ | </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">FindObjectWithTag()</p>Params<br>tag - tag to search<br>Returns<br>gameobject - first object matching the criteria || Return the first object with the specified tag. | ||
+ | |} | ||
+ | </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">FindObjectWithTagInRange()</p>Params<br>tag - tag to search<br>location - location to search around<br>distance - distances from location<br>Returns<br>gameobject - first object matching criteria || Return the first object with the specified tag within a range of a specified location (does not take height into account). | ||
+ | |} | ||
+ | </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">FindObjects()</p>ObjectSearcher - object searcher to use<br>gameobject - Optional source object(default:object current behavior is attached to)<br>Returns<br>table - Array of objects matching the criteria || Return an array of objects that match the search criteria. The source object is always excluded from the search. The source object location is used as the search center for most searchers.. | ||
+ | |} | ||
+ | </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">FindObjectsWithTagInRange()</p>Params<br>tag - tag to search<br>location - location to search around<br>distance - distances from location<br>Returns<br>table- Array of objects matching criteria || . | ||
+ | |} | ||
+ | </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">FindPermanentObjects()</p>Params<br>ObjectSearcher - Object searcher to use<br>Returns<br>table - Array of objects matching the criteria || Return an array of permanent objects that match the search criteria. | ||
+ | |} | ||
+ | </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">ForceBackup()</p> || Force the server to perform a backup cycle. | ||
+ | |} | ||
+ | </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">ForceDisconnect()</p>Params<br>objectid - the players objectid to disconnect || Forces a given player to be disconnected and logged off without triggering a character save. | ||
+ | |} | ||
+ | </center> | ||
+ | <p style="width: 60%;margin: 0 auto">Example</p> | ||
+ | <div style="width:60%;margin: 0 auto"> | ||
+ | CODE EXAMPLE BLOCK | ||
+ | </div> |
Latest revision as of 05:07, 18 November 2019
Global Functions & Examples
FindObject() ParamsObjectSearcher - object searcher to use gameobject - Optional source object(default:object current behavior is attached to) Returns gameobject - first object matching the criteria |
Return the first object that matches the search criteria.The source object is always excluded from the search.The source object location is used as the search center for most searchers |
Example
CODE EXAMPLE BLOCK
FindObjectWithTag() Paramstag - tag to search Returns gameobject - first object matching the criteria |
Return the first object with the specified tag. |
Example
CODE EXAMPLE BLOCK
FindObjectWithTagInRange() Paramstag - tag to search location - location to search around distance - distances from location Returns gameobject - first object matching criteria |
Return the first object with the specified tag within a range of a specified location (does not take height into account). |
Example
CODE EXAMPLE BLOCK
FindObjects() ObjectSearcher - object searcher to usegameobject - Optional source object(default:object current behavior is attached to) Returns table - Array of objects matching the criteria |
Return an array of objects that match the search criteria. The source object is always excluded from the search. The source object location is used as the search center for most searchers.. |
Example
CODE EXAMPLE BLOCK
FindObjectsWithTagInRange() Paramstag - tag to search location - location to search around distance - distances from location Returns table- Array of objects matching criteria |
. |
Example
CODE EXAMPLE BLOCK
FindPermanentObjects() ParamsObjectSearcher - Object searcher to use Returns table - Array of objects matching the criteria |
Return an array of permanent objects that match the search criteria. |
Example
CODE EXAMPLE BLOCK
ForceBackup() |
Force the server to perform a backup cycle. |
Example
CODE EXAMPLE BLOCK
ForceDisconnect() Paramsobjectid - the players objectid to disconnect |
Forces a given player to be disconnected and logged off without triggering a character save. |
Example
CODE EXAMPLE BLOCK