$$ACTION AI Send AI object [o:Object] on path [h:Path] between nodes [i:FirstNode] and [i:LastNode], starting at [i:StartNode]; Priority = [e:GoalPriority=3], Flags = [g:AIGoalFlags=4352:32706959], GoalID = [e:GoalID=-1] aAIGoalFollowPath Send AI object on path Instructs an AI object to follow a path Parameters: Object - the object who is send to the room Path - the path to follow FirstNode
| 3667 | $$END |
| 3668 | */ |
| 3669 | void aAIGoalFollowPath(int objhandle, int pathid, int firstnode, int lastnode, int startnode, int slot, int flags, |
| 3670 | int goalid) { |
| 3671 | if (pathid != -1) |
| 3672 | AI_AddGoal(objhandle, AIG_FOLLOW_PATH, slot, DEFAULT_INFLUENCE, goalid, flags, pathid, firstnode, lastnode, |
| 3673 | startnode); |
| 3674 | } |
| 3675 | |
| 3676 | /* |
| 3677 | $$ACTION |