Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
PushGoal
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 (optional) params - set of parameters depending on the goal selected; see the AI Manual for a complete list of the parameters for each goal
!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 CScriptBindAI::CreateGoalPipe 

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

Used for warnings about data/script errors

Copyright (c) 2012. All rights reserved.