Difference between revisions of "NDGIH"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <p style="width:60%;margin: 0 auto">[[NewDawnHome|[Main]]] [[NDServerIndexScriptsMain|[Lua Examples]]]</p> | ||
<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">HasLineOfSightToLoc()Params<br>location - original position<br>location - destination position<br>height - optional height of line. Ignore all collision that is lower then this number<br>Returns<br>bool - true if worked, false if not || Does LOS exist from origin to destination at specified height. | ||
+ | |} | ||
+ | </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">HasView()<br>Params<br>eventid - event identifier to look for || Does this object have a view with the specified event identifier. | ||
+ | |} | ||
+ | </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 18:21, 23 November 2019
Global Functions & Examples
HasLineOfSightToLoc()Params |
Does LOS exist from origin to destination at specified height. |
Example
CODE EXAMPLE BLOCK
HasView() |
Does this object have a view with the specified event identifier. |
Example
CODE EXAMPLE BLOCK