Difference between revisions of "GetCurrentAIProcedure"
Jump to navigation
Jump to search
imported>Khadir (Documenting actor functions ... + wikifying) |
imported>JOG |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetCurrentAIProcedure | [''ActorID''.]GetCurrentAIProcedure | ||
Line 61: | Line 60: | ||
[[Category: AI Functions]] | [[Category: AI Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category:Actor Functions]] |
Revision as of 10:19, 28 June 2006
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.