Difference between revisions of "GetCurrentAIPackage"
Jump to navigation
Jump to search
imported>Egocarib (Created page with " Category:Condition Functions") |
imported>DavidJCobb (command's functionality verified through disassembly) |
||
Line 1: | Line 1: | ||
Identifies an actor's current AI [[:Category:Procedures|procedure]], and returns the number representing that procedure's type. Procedure numbers below are taken from the SKSE source code and from community reverse-engineering efforts in general. | |||
{| class="wikitable" | |||
|+ Package types | |||
|- | |||
! Number !! Type | |||
|- | |||
| -1 || Returned for any invalid type number, and for valid type numbers above 31. | |||
|- | |||
| 0 || Find | |||
|- | |||
| 1 || Follow | |||
|- | |||
| 2 || [[Escort (Procedure)|Escort]] | |||
|- | |||
| 3 || [[Eat (Procedure)|Eat]] | |||
|- | |||
| 4 || [[Sleep (Procedure)|Sleep]] | |||
|- | |||
| 5 || [[Wander (Procedure)|Wander]] | |||
|- | |||
| 6 || [[Travel (Procedure)|Travel]] | |||
|- | |||
| 7 || Accompany | |||
|- | |||
| 8 || Use Item At | |||
|- | |||
| 9 || Ambush | |||
|- | |||
| 10 || Flee (not combat) | |||
|- | |||
| 11 || [[UseMagic (Procedure)|UseMagic]] | |||
|- | |||
| 12 || [[Sandbox (Procedure)|Sandbox]] | |||
|- | |||
| 13 || [[Patrol (Procedure)|Patrol]] | |||
|- | |||
| 14 || [[Guard (Procedure)|Guard]] | |||
|- | |||
| 15 || Dialogue | |||
|- | |||
| 16 || [[UseWeapon (Procedure)|UseWeapon]] | |||
|- | |||
| 17 || Find2 | |||
|- | |||
| 18 || Package | |||
|- | |||
| 19 || Package Template | |||
|- | |||
| 20 || [[Activate (Procedure)|Activate]] | |||
|- | |||
| 21 || Alarm | |||
|- | |||
| 22 || Flee | |||
|- | |||
| 23 || Trespass | |||
|- | |||
| 24 || Spectator | |||
|- | |||
| 25 || React to Dead. (This is also used for vampirism: when any vampire (including the player) feeds on another actor, an AI package is created and the vampire is forced to execute it.) | |||
|- | |||
| 26 || Get Up From Chair | |||
|- | |||
| 27 || Do Nothing | |||
|- | |||
| 28 || In-Game Dialogue | |||
|- | |||
| 29 || Surface | |||
|- | |||
| 30 || Search for Attacker | |||
|- | |||
| 31 || Avoid Player | |||
|} | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Revision as of 07:15, 23 July 2018
Identifies an actor's current AI procedure, and returns the number representing that procedure's type. Procedure numbers below are taken from the SKSE source code and from community reverse-engineering efforts in general.
Number | Type |
---|---|
-1 | Returned for any invalid type number, and for valid type numbers above 31. |
0 | Find |
1 | Follow |
2 | Escort |
3 | Eat |
4 | Sleep |
5 | Wander |
6 | Travel |
7 | Accompany |
8 | Use Item At |
9 | Ambush |
10 | Flee (not combat) |
11 | UseMagic |
12 | Sandbox |
13 | Patrol |
14 | Guard |
15 | Dialogue |
16 | UseWeapon |
17 | Find2 |
18 | Package |
19 | Package Template |
20 | Activate |
21 | Alarm |
22 | Flee |
23 | Trespass |
24 | Spectator |
25 | React to Dead. (This is also used for vampirism: when any vampire (including the player) feeds on another actor, an AI package is created and the vampire is forced to execute it.) |
26 | Get Up From Chair |
27 | Do Nothing |
28 | In-Game Dialogue |
29 | Surface |
30 | Search for Attacker |
31 | Avoid Player |