Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RegisterInterestingEntity
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)

Syntax: AI.RegisterInterestedActor(entityId, fInterestFilter, fAngleInDegrees) 

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

Copyright (c) 2012. All rights reserved.