AI Lua API: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!-- This file is auto generated, please don't edit manually! --> | <!-- This file is auto generated, please don't edit manually! --> | ||
= AI = | = AI Gestures = | ||
== Description == | == Description == | ||
The enums on this page can be used by AI agent definitions to play an animation when an action is taken. These enums map directly on to states in the character animator, which is shared by all characters. Make sure you type the name exactly as it appears here, it's case sensitive. | |||
== | == Fields == | ||
=== | === LookAround === | ||
Looks from side to side. | |||
=== LookAtPhone === | |||
Retrieves phone from pocket, has a look at it, then puts it away. | |||
=== StandingTypingCalm === | |||
=== | Typing from a standing position, in a fairly normal manner. | ||
=== StandingTypingStealth === | |||
Typing from a standing position, in a sneaky manner. | |||
=== | === StandingFilingCabinetSearch === | ||
Searches a filing cabinet. | |||
=== StandingLookAtHipHeight === | |||
Not sure. | |||
=== | === StandingAmokDeviceHit === | ||
Hits a device that's in front of the character. | |||
=== UseSodaMachine === | |||
Press button, retrieve soda, drink it, discard can. | |||
=== UseSodaMachineHacked === | |||
=== | Press button, get hit by can, keel over. | ||
=== UseCoffeeMachine === | |||
Press button, retrieve coffee cup, drink. | |||
=== UseCoffeeMachineHacked === | |||
=== | Press button, get hit by steam, panic and writhe in pain. | ||
=== DanceHipHop === | |||
Hip hop dancing. | |||
=== | === DanceGuitar === | ||
Air guitar! | |||
=== DanceSalsa === | |||
Strictly come Off Grid. | |||
=== Yawn === | |||
=== | Yawn, with arms outstretched. | ||
=== StandingTalkingCalmly === | |||
Standing talking calmly with hands near waist. | |||
=== StandingTalkingAngrily === | |||
=== | Standing talking angrily with hand gestures. | ||
=== StandingUseTazer === | |||
Standing raises right arm in front. | |||
=== StandingPhoneMalfunctioning === | |||
=== | Gets phone out, swipes frantically, puts phone away and looks around. | ||
=== StandingLookingHunched === | |||
Standing, almost crouches down and peers around. | |||
=== StandingLookingSideToSide === | |||
=== | Standing, looks side to side. | ||
=== StandingHitFace === | |||
Standing, quickly brings hands to face. | |||
=== | === PickupLow === | ||
Standing pick up from ankle hight. | |||
=== PickupMed === | |||
Standing pick up from waist hight. | |||
=== PickupHigh === | |||
Standing pick up from head hight. | |||
=== LockedDoor === | |||
Standing, puts hand on handle, struggles. | |||
=== WashingDryingHands === | |||
Standing, hands out in front rubbing together. | |||
=== WaitingHandsOnHips === | |||
Standing with hands on hips. | |||
=== WashFace === | |||
Standing washing face. | |||
=== UseSnackMachine === | |||
=== UseSnackMachineHacked === | |||
Line 201: | Line 101: | ||
This file is auto generated, please don't edit manually! | This file is auto generated, please don't edit manually! | ||
'''Docs last hacked together on''': | '''Docs last hacked together on''': 23/07/2020 11:58 | ||
[[Category:Modding]][[Category:LuaAPI]] | [[Category:Modding]][[Category:LuaAPI]] |
Revision as of 12:18, 23 July 2020
AI Gestures
Description
The enums on this page can be used by AI agent definitions to play an animation when an action is taken. These enums map directly on to states in the character animator, which is shared by all characters. Make sure you type the name exactly as it appears here, it's case sensitive.
Fields
LookAround
Looks from side to side.
LookAtPhone
Retrieves phone from pocket, has a look at it, then puts it away.
StandingTypingCalm
Typing from a standing position, in a fairly normal manner.
StandingTypingStealth
Typing from a standing position, in a sneaky manner.
StandingFilingCabinetSearch
Searches a filing cabinet.
StandingLookAtHipHeight
Not sure.
StandingAmokDeviceHit
Hits a device that's in front of the character.
UseSodaMachine
Press button, retrieve soda, drink it, discard can.
UseSodaMachineHacked
Press button, get hit by can, keel over.
UseCoffeeMachine
Press button, retrieve coffee cup, drink.
UseCoffeeMachineHacked
Press button, get hit by steam, panic and writhe in pain.
DanceHipHop
Hip hop dancing.
DanceGuitar
Air guitar!
DanceSalsa
Strictly come Off Grid.
Yawn
Yawn, with arms outstretched.
StandingTalkingCalmly
Standing talking calmly with hands near waist.
StandingTalkingAngrily
Standing talking angrily with hand gestures.
StandingUseTazer
Standing raises right arm in front.
StandingPhoneMalfunctioning
Gets phone out, swipes frantically, puts phone away and looks around.
StandingLookingHunched
Standing, almost crouches down and peers around.
StandingLookingSideToSide
Standing, looks side to side.
StandingHitFace
Standing, quickly brings hands to face.
PickupLow
Standing pick up from ankle hight.
PickupMed
Standing pick up from waist hight.
PickupHigh
Standing pick up from head hight.
LockedDoor
Standing, puts hand on handle, struggles.
WashingDryingHands
Standing, hands out in front rubbing together.
WaitingHandsOnHips
Standing with hands on hips.
WashFace
Standing washing face.
UseSnackMachine
UseSnackMachineHacked
This file is auto generated, please don't edit manually!
Docs last hacked together on: 23/07/2020 11:58