|
Parameters |
Description |
|
entityId |
AI's entity id |
|
pos |
a vector specifying to the point of interest. Path nearest to this position is returned. |
|
range |
search range. If useStartNode=1, paths whose start point are within this range are returned or ! if useStartNode=0 nearest distance to the path is calculated and compared against the range. |
|
type |
type of path to return. |
|
devalue |
(optional) specifies the time the returned path is marked as occupied. |
|
useStartNode |
(optional) if set to 1 the range check will use distance to the start node on the path, ! else nearest distance to the path is used. |
!
! ! Queries a nearest path of specified type. The type uses same types as anchors and is specified in the path properties. ! The function will only return paths that match the requesters (entityId) navigation caps. The nav type is also ! specified in the path properties. ! !
!
!
!
!
!
|
Copyright (c) 2012. All rights reserved.
|