Difference between revisions of "NDGIH"
(One intermediate revision 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">HasView() || . | + | |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> | </center> |
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