Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::AbortAction Method
Syntax
C++
int AbortAction(IFunctionHandler* pH);
Parameters 
Description 
userId 
entity id of the user which AI action is aborted 
actionId (optional) 
id of action to be aborted or 0 (or nil) to abort all actions on specified entity 

!

AI.AbortAction( userId [, actionId ] )

! Aborts execution of an action if actionId is specified, or aborts execution of all actions if actionId is nil or 0!  

!  

 

Copyright (c) 2012. All rights reserved.