Category:Animation Functions
From NWN Lexicon
Jump to navigationJump to searchAnimation Function Category
Animations performed by NPCs when placed within one of NPCs script event handlers.
Functions
Name | Brief Description |
---|---|
Causes an NPC to close a nearby open door. | |
Causes an NPC to find a friend and engage in conversation with them. | |
Find a placeable within the given distance and interact with it. | |
Get up from a chair if we're sitting. | |
If it is night, go back to our home waypoint, if we have one. This is only meaningful for mobile NPCs who would have left their homes during the day. | |
Go through a nearby door if appropriate. | |
Leave area if appropriate. | |
Go to a nearby waypoint or placeable marked with the tag "NW_STOP". | |
If it is day, leave our home area, if we have one. This is only meaningful for mobile NPCs. | |
Play animation of looking around to left and right. | |
Play a random animation. | |
Play a random animation that all creatures should have. | |
Perform a random close-range action. | |
Play a random farewell animation and possibly voicechat. | |
Play a greeting animation and possibly voicechat. | |
Perform a strictly immobile action. | |
Interact with a placeable object. | |
Perform a mobile action. | |
Play a random talk gesture animation. | |
Perform a mobile action for an uncivilized creature. | |
Randomly move away from an object the specified distance. | |
If injured find the best place to rest, based on the mobility setting, and go rest there. | |
Play animation of shaking head "no" to left and right. | |
Sit in a random nearby chair if available. | |
Start interacting with a placeable object. | |
Start talking with a friend. | |
Stop interacting with a placeable object. | |
Stop talking to the given friend. | |
Turn around to face a random direction. NOTE: The contents of this function have been commented out. So it will do nothing when called. | |
General initialization for animations. | |
Avian creatures will fly around randomly. | |
This function should be used for mobile NPCs and monsters other than avian ones. |
Pages in category "Animation Functions"
The following 31 pages are in this category, out of 31 total.
A
- AnimActionCloseRandomDoor
- AnimActionFindFriend
- AnimActionFindPlaceable
- AnimActionGetUpFromChair
- AnimActionGoHome
- AnimActionGoInside
- AnimActionGoOutside
- AnimActionGoToStop
- AnimActionLeaveHome
- AnimActionLookAround
- AnimActionPlayRandomAnimation
- AnimActionPlayRandomBasicAnimation
- AnimActionPlayRandomCloseRange
- AnimActionPlayRandomGreeting
- AnimActionPlayRandomImmobile
- AnimActionPlayRandomInteractAnimation
- AnimActionPlayRandomMobile
- AnimActionPlayRandomTalkAnimation
- AnimActionPlayRandomUncivilized
- AnimActionRandomMoveAway
- AnimActionRest
- AnimActionShakeHead
- AnimActionSitInChair
- AnimActionStartInteracting
- AnimActionStartTalking
- AnimActionStopInteracting
- AnimActionStopTalking
- AnimActionTurnAround
- AnimInitialization