Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetRefPointAtDefensePos Method
Syntax
C++
int SetRefPointAtDefensePos(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity id 
point2defend 
point to defend 
distance 
max distance to keep from the point 

!

AI.SetRefPointAtDefensePos(entityId, point2defend, distance)

! Set the entity refpoint position in an intermediate distance between the entity's att target and the given point.!  

!  

!  

 

Copyright (c) 2012. All rights reserved.