GetCurrentAIProcedure
Syntax:
[ActorID.]GetCurrentAIProcedure
GetCurrentAIProcedure returns the following values for procedure types:
|
|
|
|
Note that the procedure is not the same as the current package. A single package can contain several possible procedures, depending on what the actor is currently doing. For example, while in a Travel package, an actor will do the Travel procedure (when the actor is moving towards its target) and then the Wait procedure (when the actor has arrived at the travel destination). A procedure may also not be related to the underlying package -- fallout behavior causes the actor to begin a new procedure without changing its package.