Category:Movement Functions
From NWN Lexicon
Jump to navigationJump to searchMovement Function Category
Movement related functions.
Functions
Name | Brief Description |
---|---|
Forces an NPC to follow an object. | |
Attempts to move an NPC to a location. | |
Attempts to move an NPC to a certain distance of a target object even if a clear path doesn't exist. | |
Instantly sends the calling object to the position of locTarget. | |
Teleports the calling object to the nearest valid location by the target. | |
Causes the caller to try to move away from a location. | |
Cause the action subject to move to a certain distance away from a target. | |
Moves an NPC to a location before executing further actions in the action queue. | |
Cause action subject to move to a certain distance of a target object. | |
Causes subject to run to an item and place it in inventory. | |
Causes the subject to walk to a random location close to itself. | |
Causes a creature to run to its exit waypoint and disappear. | |
Send a player's client to a new server, where the player's character will log in. | |
Checks to see if an NPC has a valid waypoint to walk to. | |
Create a Movement Speed Decrease effect to slow target. | |
Create a Movement Speed Increase effect to speed target movement rate. | |
Makes a creature escape to a waypoint. | |
This function returns a location directly in front of the target. | |
Returns a float representing the angle between Location One and Location Two. | |
Returns location directly behind the target and facing same direction as the target. | |
Determines the door that is blocking a creature. | |
Convenience function that returns a vector that is fDistance away in fAngle direction. | |
Convenience function to calculate the change in the X axis. | |
Convenience function that calculates the change in the Y axis to the target. | |
This function returns a normalized number that is the sum of the current facing and the angle to target. | |
This returns a float that is a normalized remainder of fDirection - fAngle. | |
Returns the current movement rate factor of the cutscene 'camera man'. | |
The distance in meters between two locations in the game. | |
The distance from the caller of the script to the object in meters. | |
Used to determine which direction something is facing. | |
Get the facing value from a location variable. | |
This function returns a normalized number that is +135 from the current facing. | |
Returns a normalized number that is -135 from the current facing. | |
Returns a location on the left flank of the target. | |
Returns a location that is the right flank (to the right and slightly behind) the Target. | |
Returns location to the forward left flank of the target. | |
Returns location to the forward right flank of the target. | |
This function returns a number that is +45 degrees from the current facing. | |
Returns a normalized value that is -45 from fDirection. | |
This function returns a float representing a direction +90 degrees. | |
This function returns a float that is constrained from 0 - 360. | |
Returns a normalized direction that is -180 from fDirection. | |
Returns a location that is directly behind the target. | |
Returns a normalized float that is -90 from the facing passed in. | |
Gets the associated transitional target. | |
This is a command to move instantly to the location referenced by lLocation. | |
Teleports the calling object to the nearest valid location by the target. | |
Makes the caller walk to a waypoint. | |
Tells the object to move to a new location. | |
Makes an NPC move to their initial waypoint. | |
Sets the current movement rate factor for the cutscene cameraman. | |
Sets the object to face a certain direction. | |
Sets the object to face the direction of a vector. | |
Blow up the nearest object with a matching tag with the specified spell. | |
Raise the nearest corpse from the dead. | |
Turns the target object to face another object. | |
Creates a vector (position) from three points. | |
Determines the magnitude of a vector. | |
Normalize a vector. | |
Make an NPC creature walk a series of preset waypoints. |
Pages in category "Movement Functions"
The following 60 pages are in this category, out of 60 total.
A
G
- GetAheadLocation
- GetAngleBetweenLocations
- GetBehindLocation
- GetBlockingDoor
- GetChangedPosition
- GetChangeInX
- GetChangeInY
- GetCustomLeftDirection
- GetCustomRightDirection
- GetCutsceneCameraMoveRate
- GetDistanceBetweenLocations
- GetDistanceToObject
- GetFacing
- GetFacingFromLocation
- GetFarLeftDirection
- GetFarRightDirection
- GetFlankingLeftLocation
- GetFlankingRightLocation
- GetForwardFlankingLeftLocation
- GetForwardFlankingRightLocation
- GetHalfLeftDirection
- GetHalfRightDirection
- GetLeftDirection
- GetNormalizedDirection
- GetOppositeDirection
- GetOppositeLocation
- GetRightDirection
- GetTransitionTarget