Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetAttentiontarget Method
Syntax
C++
int SetAttentiontarget(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity 
targetId 
target's id 

!

AI.SetAttentiontarget(entityId, targetId)

! Set a new attention target.!  

!  

SetAttentiontarget

Copyright (c) 2012. All rights reserved.