Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::RegisterInterestedActor Method
Syntax
C++
int RegisterInterestedActor(IFunctionHandler* pH, ScriptHandle entityId, float fInterestFilter, float fAngleInDegrees);
Parameters 
Description 
ScriptHandle entityId 
AI's entity 

! true - if a valid update was performed ! nil - if not (Interest system is disabled, parameters not valid, etc) !

!

AI.RegisterInterestedActor(entityId, fInterestFilter, fAngleInDegrees)

! Registers the interested actor with the interest system. Any errors go to the error log.!  

!

Copyright (c) 2012. All rights reserved.