Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::RegisterTargetTrack Method
Syntax
C++
int RegisterTargetTrack(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 
configuration 
Target stimulus configuration to use 
targetLimit 
Number of agents who can target the AI at any given time (0 for infinite) 
classThreat 
(Optional) Initial class threat value for the user 

True if registration was successful. Note that this does nothing if 'ai_TargetTracking' is not set to '2'

!

AI.RegisterTargetTrack(entityId, configuration, targetLimit, classThreat)

! Registers the AI object to use the given target track configuration for target selection.!  

!  

!  

!  

!

Copyright (c) 2012. All rights reserved.