Difference between revisions of "GetCurrentAIProcedure"
Jump to navigation
Jump to search
imported>Haama (Category links) |
imported>Fella |
||
Line 58: | Line 58: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] |
Revision as of 11:23, 23 January 2008
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.