トップ 新規 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

categoryfunction.movement

掲示板(停止中) | About | Reference | Lyceum(スクリプト入門) | Resources | Contributors | LexiconJP-OLD | NWN Builders

Movement Function Category

Movement related functions.

Functions

NameBrief Description
ActionForceFollowObjectForces an NPC to follow an object.
ActionForceMoveToLocationAttempts to move an NPC to a location.
ActionForceMoveToObjectAttempts to move an NPC to a certain distance of a target object even if a clear path doesn't exist.
ActionJumpToLocationInstantly sends the calling object to the position of locTarget.
ActionJumpToObjectTeleports the calling object to the nearest valid location by the target.
ActionMoveAwayFromLocationCauses the caller to try to move away from a location
ActionMoveAwayFromObjectCause the action subject to move to a certain distance away from a target.
ActionMoveToLocationMoves an NPC to a location before executing further actions in the action queue.
ActionMoveToObjectCause action subject to move to a certain distance of a target object.
ActionPickUpItemCauses subject to run to an item and place it in inventory.
ActionRandomWalkCauses the subject to walk to a random location close to itself.
ActivateFleeToExitCauses a creature to run to its exit waypoint and disappear.
ActivatePortalキャラクターがログインする新しいサーバーへプレイヤーのクライアントを送ります。
CheckWayPointsChecks to see if an NPC has a valid waypoint to walk to.
EffectMovementSpeedDecreaseCreate a Movement Speed Decrease effect to slow target.
EffectMovementSpeedIncreaseCreate a Movement Speed Increase effect to speed target movement rate.
EscapeAreaMakes a creature escape to a waypoint.
GetAheadLocationThis function returns a location directly in front of the tartget
GetAngleBetweenLocationsReturns a float representing the angle between Location One and Location Two
GetBehindLocationReturns location directly behind the target and facing same direction as the target
GetBlockingDoor?Determines the door that is blocking a creature.
GetChangedPositionConvenience function that returns a vector that is fDistance away in fAngle direction
GetChangeInXConvinence function to calculate the change in the X axis
GetCustomLeftDirectionThis function returns a normalized number that is the sum of the current facing and the angle to target
GetCustomRightDirectionThis returns a float that is a normalized remainder of fDirection - fAngle
GetCutsceneCameraMoveRate?Returns the current movement rate factor of the cutscene 'camera man'
GetDistanceBetweenLocationsThe distance in meters between two locations in the game.
GetDistanceToObjectThe distance from the caller of the script to the object in meters.
GetFacingUsed to determine which direction something is facing.
GetFacingFromLocationGet the facing value from a location variable.
GetFarLeftDirectionThis function returns a normalized number that is +135 from the current facing
GetFarRightDirectionReturns a normalized number that is -135 from the current facing
GetFlankingLeftLocationReturns a location on the left flank of the target
GetFlankingRightLocationReturns a location that is the right flank (to the right and slightly behind) the Target
GetForwardFlankingLeftLocationReturns location to the forward left flank of the target
GetForwardFlankingRightLocationReturns location to the forward right flank of the target
GetHalfLeftDirection?This function returns a number that is +45 degrees from the current facing
GetHalfRightDirection?Returns a normalized value that is -45 from fDirection
GetLeftDirection?This function returns a float representing a direction +90 degrees
GetNormalizedDirectionThis function returns a float that is constrained from 0 - 360
GetOppositeDirectionReturns a normalized direction that is -180 from fDirection
GetOppositeLocationReturns a location that is directly behind the target
GetRightDirectionReturns a normalized float that is -90 from the facing passed in
GetTransitionTargetGets the associated transitional target.
JumpToLocationThis is a command to move instantly to the location referenced by lLocation.
JumpToObjectTeleports the calling object to the nearest valid location by the target.
MoveTo2Q4PlotPointMakes the caller walk to a waypoint.
MoveToNewLocationTells the object to move to a new location
RunNextCircuitMakes an NPC move to their initial waypoint.
SetCutsceneCameraMoveRate?Sets the current movement rate factor for the cutscene cameraman
SetFacing?Sets the object to face a certain direction.
SetFacingPoint?Sets the object to face the direction of a vector.
TurnToFaceObject?Turns the target object to face another object
VectorCreates a vector (position) from three points.
VectorMagnitudeDetermines the magnitute of a vector.
VectorNormalizeNormalize a vector.
WalkWayPointsNPCクリーチャーに予め設定した一連のウェイポイントを歩かせます。

See Also

Function Categories