Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RegisterInterestingEntity
Syntax
C++
int RegisterInterestingEntity(IFunctionHandler* pH, ScriptHandle entityId, float radius, float baseInterest, const char* actionName, Vec3 offset, float pause, int shared);
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.RegisterInterestingEntity(entityId, baseInterest, category, aiAction) 

Registers the entity with the interest system Any errors go to error log

Copyright (c) 2012. All rights reserved.