Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::PushGoal Method
Syntax
C++
int PushGoal(IFunctionHandler* pH);
Parameters 
Description 
szPipeName 
goal pipe name 
szGoalName 
goal name - see AI Manual for a complete list of goals 
blocking 
used to mark the goal as blocking (goal pipe execution will stop here 
until the goal has finished) 0: not blocking, 1: blocking</param 
!  
(optional) params 
set of parameters depending on the goal selected; see the AI Manual for a complete list of the parameters for each goal 

!

AI.PushGoal( szPipeName, goalName, blocking [,{params}] )

! Used for warnings about data/script errors.!  

!  

!  

!  

!Push a goal into a goal pipe. The goal is appended at the end of the goal pipe. Pipe of given name has to be previously created. @param name of the goal pipe in which the goal will be pushed. @param name of atomic goal that needs to be pushed into the pipe @param 1 if the goal should block the pipe execution, 0 if the goal should not block the goal execution @see CScriptBind_AI::CreateGoalPipe

Copyright (c) 2012. All rights reserved.