Difference between revisions of "GetCurrentAIProcedure"
Jump to navigation
Jump to search
imported>Maturin |
imported>Vswe m (Added Search Terms) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
''ActorID | [''ActorID''.]GetCurrentAIProcedure | ||
GetCurrentAIProcedure returns the following values for procedure types: | GetCurrentAIProcedure returns the following values for procedure types: | ||
{| width="100%" border="0" cellpadding="5" cellspacing="0" | |||
|- | |||
| width="25%"| | |||
:0 = TRAVEL | :0 = TRAVEL | ||
:1 = ACTIVATE | :1 = ACTIVATE | ||
Line 14: | Line 17: | ||
:8 = SLEEP | :8 = SLEEP | ||
:9 = OBSERVE_COMBAT | :9 = OBSERVE_COMBAT | ||
| width="25%"| | |||
:10 = EAT | :10 = EAT | ||
:11 = FOLLOW | :11 = FOLLOW | ||
Line 24: | Line 28: | ||
:18 = YIELD | :18 = YIELD | ||
:19 = TRAVEL_TARGET | :19 = TRAVEL_TARGET | ||
| width="25%"| | |||
:20 = CREATE_FOLLOW | :20 = CREATE_FOLLOW | ||
:21 = GET_UP | :21 = GET_UP | ||
Line 34: | Line 39: | ||
:28 = USE_ITEM_AT | :28 = USE_ITEM_AT | ||
:29 = VAMPIRE_FEED | :29 = VAMPIRE_FEED | ||
| width="25%"| | |||
:30 = WAIT_AMBUSH | :30 = WAIT_AMBUSH | ||
:31 = SURFACE | :31 = SURFACE | ||
Line 44: | Line 50: | ||
:38 = SUMMON_DEFEND | :38 = SUMMON_DEFEND | ||
:39 = MOVEMENT_BLOCKED_WAIT | :39 = MOVEMENT_BLOCKED_WAIT | ||
|} | |||
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. | 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. | ||
Line 52: | Line 58: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category:Actor Functions]] | |||
[[Category:Actor Functions (CS 1.0)]] | |||
[[Category: AI Functions]] | [[Category: AI Functions]] | ||
[[Category: AI Functions (CS 1.0)]] | |||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category: Condition Functions (CS 1.0)]] | |||
<!-- Begin Search Terms | |||
get | |||
Current | |||
AI | |||
Procedure | |||
End Search Terms --> |
Latest revision as of 08:19, 20 June 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.
See Also[edit | edit source]