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

sub type of given entity (as defined in IAgent.h)

Syntax: AI.GetSubTypeOf( entityId ) 

returns the given entity's sub type

only returns subtypes below 26/06/2006 AIOBJECT_CAR AIOBJECT_BOAT AIOBJECT_HELICOPTER 

 

Copyright (c) 2012. All rights reserved.