Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetAttentionTargetDistance
Syntax
C++
int GetAttentionTargetDistance(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 

distance to the attention target (nil if no target) 

 

Syntax: AI.GetAttentionTargetDistance( entityId ) 

returns the given entity's attention target's distance to the entity

Copyright (c) 2012. All rights reserved.