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

Target subtype value - see IAgent.h for all definitions of target types

!

AI.GetTargetSubType(entityId)

! Returns the subtype of current entity's attention target.!  

!

Copyright (c) 2012. All rights reserved.