Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetCharacter
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
 

Syntax: 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.