Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::UpTargetPriority Method
Syntax
C++
int UpTargetPriority(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 
targetId 
target's entity id 
increment 
value to modify the target's priority 

!

AI.UpTargetPriority( entityId, targetId, increment )

! modifies the current entity's target priority for the given target if the given target is among the entity's target list.!  

!  

!

Copyright (c) 2012. All rights reserved.