Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::CanMoveStraightToPoint Method
Syntax
C++
int CanMoveStraightToPoint(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity id 
position 
the position to check 

true if the entity can move to the specified position in a straight line (no multiple segment path necessary) 

true if the position can be reached in a straight line

!

AI.CanMoveStraightToPoint(entityId, position)

!  

!  

!  

!  

CanMoveStraightToPoint

Copyright (c) 2012. All rights reserved.