Difference between revisions of "ObjectReference Script"
m
Formatting Change
imported>Wafflesalot (→SKSE Member Functions: minor descriptions for GetItemCharge,SetItemCharge and GetItemMaxCharge. also minor edit to SetItemCharge link.) |
imported>CraftySentinel m (Formatting Change) |
||
Line 29: | Line 29: | ||
== Global Functions == | == Global Functions == | ||
None | None | ||
|} | |||
== Member Functions == | == Member Functions == | ||
{|class="wikitable" width =100% | |||
!style="text-align:left;"|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[Activate - ObjectReference|'''Activate'''(ObjectReference ''akActivator'')]] | |||
|Have the passed in reference activate this object. | |||
|- | |||
|[[AddInventoryEventFilter - ObjectReference|'''AddInventoryEventFilter'''(Form ''akFilter'')]] | |||
|Adds an inventory event filter to this reference. | |||
|- | |||
|[[AddItem - ObjectReference|'''AddItem'''(Form ''akItemToAdd'', Int ''aiCount'', Bool ''abSilent'')]] | |||
|Adds the passed in item to this object's inventory. | |||
|- | |||
|[[AddKeyIfNeeded - ObjectReference|'''AddKeyIfNeeded'''(ObjectReference ''ObjectWithNeededKey'')]] | |||
|Adds the key to ObjectWithNeededKey if this object's inventory does not contain it already. | |||
|- | |||
|[[AddToMap - ObjectReference|'''AddToMap'''(Bool ''abAllowFastTravel'')]] | |||
|Adds this map marker to the map, optionally making it available for fast travel. | |||
|- | |||
|[[ApplyHavokImpulse - ObjectReference|'''ApplyHavokImpulse'''(Float ''afX'', Float ''afY'', Float ''afZ'', Float ''afMagnitude'')]] | |||
|Apply a Havok impulse force to this object. | |||
|- | |||
|[[BlockActivation - ObjectReference|'''BlockActivation'''(Bool ''abBlocked'')]] | |||
|Blocks normal activation processing for this reference. | |||
|- | |||
|[[CalculateEncounterLevel - ObjectReference|Int '''CalculateEncounterLevel'''(Int ''aiDifficulty'')]] | |||
|Calculate this object's encounter level, using the specified difficulty. | |||
|- | |||
|[[CanFastTravelToMarker - ObjectReference|Bool '''CanFastTravelToMarker'''()]] | |||
|Can the player fast travel to this map marker? | |||
|- | |||
|[[ClearDestruction - ObjectReference|'''ClearDestruction'''()]] | |||
|Clears all effects of destruction from this object. | |||
|- | |||
|[[CountLinkedRefChain - ObjectReference|Int '''CountLinkedRefChain'''(Keyword ''apKeyword'', Int ''maxExpectedLinkedRefs'')]] | |||
|Counts the number of linked refs that are in a linked Ref chain | |||
|- | |||
|[[CreateDetectionEvent - ObjectReference|'''CreateDetectionEvent'''(Actor ''akOwner'', Int ''aiSoundLevel'')]] | |||
|Create a detection event at this reference, with the specified owner. | |||
|- | |||
|[[DamageObject - ObjectReference|'''DamageObject'''(Float ''afDamage'')]] | |||
|Damages this object and advances the destruction stage. | |||
|- | |||
|[[Delete - ObjectReference|'''Delete'''()]] | |||
|Deletes this object. | |||
|- | |||
|[[DeleteWhenAble - ObjectReference|'''DeleteWhenAble'''()]] | |||
|Waits until this reference is out of the loaded area and then deletes it | |||
|- | |||
|[[Disable - ObjectReference|'''Disable'''(Bool ''abFadeOut'')]] | |||
|Disables this object. | |||
|- | |||
|[[DisableLinkChain - ObjectReference|'''DisableLinkChain'''(Keyword ''apKeyword'', Bool ''abFadeOut'')]] | |||
|Disables all of the references that are linked, in a chain, to this one. | |||
|- | |||
|[[DisableNoWait - ObjectReference|'''DisableNoWait'''(Bool ''abFadeOut'')]] | |||
|Disables this object and does not wait for the object to be disable or faded out. | |||
|- | |||
|[[DropObject - ObjectReference|'''DropObject'''(Form ''akObject'', Int ''aiCount'')]] | |||
|Drops the specified object from this object's inventory. | |||
|- | |||
|[[Enable - ObjectReference|'''Enable'''(Bool ''abFadeIn'')]] | |||
|Enables this object. | |||
|- | |||
|[[EnableFastTravel - ObjectReference|'''EnableFastTravel'''(Bool ''abEnable'')]] | |||
|Enables or disables fast travel to this map marker. | |||
|- | |||
|[[EnableLinkChain - ObjectReference|'''EnableLinkChain'''(Keyword ''apKeyword'')]] | |||
|Enables all of the references that are linked, in a chain, to this one. | |||
|- | |||
|[[EnableNoWait - ObjectReference|'''EnableNoWait'''(Bool ''abFadeIn'')]] | |||
|Enables this object and does not wait for the object to be enabled or faded in. | |||
|- | |||
|[[ForceAddRagdollToWorld - ObjectReference|'''ForceAddRagdollToWorld'''()]] | |||
|Forcibly adds the ragdoll of a reference to the world | |||
|- | |||
|[[ForceRemoveRagdollFromWorld - ObjectReference|'''ForceRemoveRagdollFromWorld'''()]] | |||
|Forcibly removes the ragdoll of a reference from the world | |||
|- | |||
|[[GetActorOwner - ObjectReference|ActorBase '''GetActorOwner'''()]] | |||
|Obtains the actor base that owns this object. | |||
|- | |||
|[[GetAngleX - ObjectReference|Float '''GetAngleX'''()]] | |||
|Obtains this object's rotation around the x axis. | |||
|- | |||
|[[GetAngleY - ObjectReference|Float '''GetAngleY'''()]] | |||
|Obtains this object's rotation around the y axis. | |||
|- | |||
|[[GetAngleZ - ObjectReference|Float '''GetAngleZ'''()]] | |||
|Obtains this object's rotation around the z axis. | |||
|- | |||
|[[GetAnimationVariableBool - ObjectReference|Bool '''GetAnimationVariableBool'''(String ''asVariableName'')]] | |||
|Fetches the value of a variable on the reference's animation graph (bool version). | |||
|- | |||
|[[GetAnimationVariableFloat - ObjectReference|Float '''GetAnimationVariableFloat'''(String ''asVariableName'')]] | |||
|Fetches the value of a variable on the reference's animation graph (float version). | |||
|- | |||
|[[GetAnimationVariableInt - ObjectReference|Int '''GetAnimationVariableInt'''(String ''asVariableName'')]] | |||
|Fetches the value of a variable on the reference's animation graph (int version). | |||
|- | |||
|[[GetBaseObject - ObjectReference|Form '''GetBaseObject'''()]] | |||
|Obtains this reference's base object. | |||
|- | |||
|[[GetCurrentDestructionStage - ObjectReference|Int '''GetCurrentDestructionStage'''()]] | |||
|Gets the object's current stage of destruction. | |||
|- | |||
|[[GetCurrentLocation - ObjectReference|Location '''GetCurrentLocation'''()]] | |||
|Obtains this reference's current location. | |||
|- | |||
|[[GetCurrentScene - ObjectReference|Scene '''GetCurrentScene'''()]] | |||
|Obtains the scene that this reference is currently participating in, if any. | |||
|- | |||
|[[GetDistance - ObjectReference|Float '''GetDistance'''(ObjectReference ''akOther'')]] | |||
|Calculates the distance between this object and the passed in one. | |||
|- | |||
|[[GetEditorLocation - ObjectReference|Location '''GetEditorLocation'''()]] | |||
|Obtains this reference's editor location. | |||
|- | |||
|[[GetFactionOwner - ObjectReference|Faction '''GetFactionOwner'''()]] | |||
|Gets the faction that owns this reference. | |||
|- | |||
|[[GetHeadingAngle - ObjectReference|Float '''GetHeadingAngle'''(ObjectReference ''akOther'')]] | |||
|Gets the angle between this object's heading, and the direction the other object is in. | |||
|- | |||
|[[GetHeight - ObjectReference|Float '''GetHeight'''()]] | |||
|Gets the height of this object | |||
|- | |||
|[[GetItemCount - ObjectReference|Int '''GetItemCount'''(Form ''akItem'')]] | |||
|Returns how many of the specified item is in this object's inventory. | |||
|- | |||
|[[GetItemHealthPercent - ObjectReference|Float '''GetItemHealthPercent'''()]] | |||
|Returns the item health percent of this object (1.0 == 100%). | |||
|- | |||
|[[GetKey - ObjectReference|Key '''GetKey'''()]] | |||
|Obtains the key that unlocks this object (if any). | |||
|- | |||
|[[GetLength - ObjectReference|Float '''GetLength'''()]] | |||
|Obtains the length of this object. | |||
|- | |||
|[[GetLinkedRef - ObjectReference|ObjectReference '''GetLinkedRef'''(Keyword ''apKeyword'')]] | |||
|Returns our linked reference for the given Keyword, if any. | |||
|- | |||
|[[GetLockLevel - ObjectReference|Int '''GetLockLevel'''()]] | |||
|Obtains the level of the lock on this object. | |||
|- | |||
|[[GetMass - ObjectReference|Float '''GetMass'''()]] | |||
|Obtains this object's mass in Havok. | |||
|- | |||
|[[GetNthLinkedRef - ObjectReference|ObjectReference '''GetNthLinkedRef'''(Int ''aiLinkedRef'')]] | |||
|Obtains the nth linked ref from this object. | |||
|- | |||
|[[GetOpenState - ObjectReference|Int '''GetOpenState'''()]] | |||
|Obtains this object's current "open state". | |||
|- | |||
|[[GetParentCell - ObjectReference|Cell '''GetParentCell'''()]] | |||
|Obtains the cell this object is currently in. | |||
|- | |||
|[[GetPositionX - ObjectReference|Float '''GetPositionX'''()]] | |||
|Returns this object's current X position. | |||
|- | |||
|[[GetPositionY - ObjectReference|Float '''GetPositionY'''()]] | |||
|Returns this object's current Y position. | |||
|- | |||
|[[GetPositionZ - ObjectReference|Float '''GetPositionZ'''()]] | |||
|Returns this object's current Z position. | |||
|- | |||
|[[GetScale - ObjectReference|Float '''GetScale'''()]] | |||
|Get this object's current scale. | |||
|- | |||
|[[GetTriggerObjectCount - ObjectReference|Int '''GetTriggerObjectCount'''()]] | |||
|Returns the number of objects inside this trigger volume. | |||
|- | |||
|[[GetVoiceType - ObjectReference|VoiceType '''GetVoiceType'''()]] | |||
|Obtains the [[VoiceType Script|VoiceType]] for this actor or talking activator. | |||
|- | |||
|[[GetWidth - ObjectReference|Float '''GetWidth'''()]] | |||
|Get the current width of the object. | |||
|- | |||
|[[GetWorldSpace - ObjectReference|Worldspace '''GetWorldSpace'''()]] | |||
|Returns the worldspace this reference is in. | |||
|- | |||
|[[HasEffectKeyword - ObjectReference|Bool '''HasEffectKeyword'''(Keyword ''akKeyword'')]] | |||
|Returns if this reference has an active effect coming from a magic effect with the specified keyword attached | |||
|- | |||
|[[HasNode - ObjectReference|Bool '''HasNode'''(String ''asNodeName'')]] | |||
|Returns if this reference has the specified name node in its 3D. | |||
|- | |||
|[[HasRefType - ObjectReference|Bool '''HasRefType'''(LocationRefType ''akRefType'')]] | |||
|Returns if this reference has the specified [[LocationRefType Script|LocationRefType]] attached. | |||
|- | |||
|[[IgnoreFriendlyHits - ObjectReference|'''IgnoreFriendlyHits'''(Bool ''abIgnore'')]] | |||
|Flags this reference as ignoring (or not ignoring) friendly hits | |||
|- | |||
|[[InterruptCast - ObjectReference|'''InterruptCast'''()]] | |||
|Interrupts any spellcasting this object may be doing. | |||
|- | |||
|[[IsActivateChild - ObjectReference|Bool '''IsActivateChild'''(ObjectReference ''akChild'')]] | |||
|Returns whether the passed in reference is an activate child of this reference. | |||
|- | |||
|[[IsActivationBlocked - ObjectReference|Bool '''IsActivationBlocked'''()]] | |||
|Returns whether normal activation processing is currently blocked on this reference or not. | |||
|- | |||
|[[Is3DLoaded - ObjectReference|Bool '''Is3DLoaded'''()]] | |||
|Checks to see if this reference's 3D data is currently loaded or not. | |||
|- | |||
|[[IsDeleted - ObjectReference|Bool '''IsDeleted'''()]] | |||
|Checks to see if this object is currently flagged for delete. | |||
|- | |||
|[[IsDisabled - ObjectReference|Bool '''IsDisabled'''()]] | |||
|Is this object currently disabled? | |||
|- | |||
|[[IsEnabled - ObjectReference|Bool '''IsEnabled'''()]] | |||
|Is this object currently enabled? | |||
|- | |||
|[[IsFurnitureInUse - ObjectReference|Bool '''IsFurnitureInUse'''(Bool ''abIgnoreReserved'')]] | |||
|Is any furniture marker on this object in use? | |||
|- | |||
|[[IsFurnitureMarkerInUse - ObjectReference|Bool '''IsFurnitureMarkerInUse'''(Int ''aiMarker'', Bool ''abIgnoreReserved'')]] | |||
|Is the specified furniture marker on this object in use? | |||
|- | |||
|[[IsIgnoringFriendlyHits - ObjectReference|Bool '''IsIgnoringFriendlyHits'''()]] | |||
|Is this object ignoring friendly hits? | |||
|- | |||
|[[IsInDialogueWithPlayer - ObjectReference|Bool '''IsInDialogueWithPlayer'''()]] | |||
|Is this actor or talking activator currently talking to the player? | |||
|- | |||
|[[IsInInterior - ObjectReference|Bool '''IsInInterior'''()]] | |||
|Returns true if the object is in an interior cell. | |||
|- | |||
|[[IsInLocation - ObjectReference|Bool '''IsInLocation'''(Location ''akLocation'')]] | |||
|Returns true if the object is currently in that location or a child of that location. | |||
|- | |||
|[[IsLocked - ObjectReference|Bool '''IsLocked'''()]] | |||
|Is the lock on this object locked? | |||
|- | |||
|[[IsMapMarkerVisible - ObjectReference|Bool '''IsMapMarkerVisible'''()]] | |||
|Is this map marker visible to the player? | |||
|- | |||
|[[IsNearPlayer - ObjectReference|Bool '''IsNearPlayer'''()]] | |||
|A quick-and-dirty function to tell if this object is safe to enable or disable | |||
|- | |||
|[[KnockAreaEffect - ObjectReference|'''KnockAreaEffect'''(Float ''afMagnitude'', Float ''afRadius'')]] | |||
|Executes a knock effect to an area | |||
|- | |||
|[[Lock - ObjectReference|'''Lock'''(Bool ''abLock'', Bool ''abAsOwner'')]] | |||
|Locks or unlocks this object. | |||
|- | |||
|[[MoveTo - ObjectReference|'''MoveTo'''(ObjectReference ''akTarget'', Float ''afXOffset'', Float ''afYOffset'', Float ''afZOffset'', Bool ''abMatchRotation'')]] | |||
|Moves this object to the same location as the passed-in reference, offset by the specified amount. | |||
|- | |||
|[[MoveToIfUnloaded - ObjectReference|Bool '''MoveToIfUnloaded'''(ObjectReference ''akTarget'', Float ''afXOffset'', Float ''afYOffset'', Float ''afZOffset'')]] | |||
|Moves this object to the same location as the passed-in reference, offset by the specified amount, IF this object is not currently loaded. | |||
|- | |||
|[[MoveToInteractionLocation - ObjectReference|'''MoveToInteractionLocation'''(ObjectReference ''akTarget'')]] | |||
|Moves this object to the specified object's interaction location. | |||
|- | |||
|[[MoveToMyEditorLocation - ObjectReference|'''MoveToMyEditorLocation'''()]] | |||
|Moves this object to its own editor location. | |||
|- | |||
|[[MoveToNode - ObjectReference|'''MoveToNode'''(ObjectReference ''akTarget'', String ''asNodeName'')]] | |||
|Moves this object to the position (and rotation) of the specified node on the specified object's 3D | |||
|- | |||
|[[PlaceActorAtMe - ObjectReference|Actor '''PlaceActorAtMe'''(ActorBase ''akActorToPlace'', Int ''aiLevelMod'', EncounterZone ''akZone'')]] | |||
|Create an actor at this object's location. | |||
|- | |||
|[[PlaceAtMe - ObjectReference|ObjectReference '''PlaceAtMe'''(Form ''akFormToPlace'', Int ''aiCount'')]] | |||
|Places x copies of the passed in form at this object's current position, returning the last one created. | |||
|- | |||
|[[PlayAnimation - ObjectReference|Bool '''PlayAnimation'''(String ''asAnimation'')]] | |||
|Plays the specified animation on this object, returning immediately. | |||
|- | |||
|[[PlayAnimationAndWait - ObjectReference|Bool '''PlayAnimationAndWait'''(String ''asAnimation'', String ''asEventName'')]] | |||
|Plays the specified animation on this object and waits for the specified event before returning. (latent) | |||
|- | |||
|[[PlayGamebryoAnimation - ObjectReference|Bool '''PlayGamebryoAnimation'''(String ''asAnimation'', Bool ''abStartOver'', Float ''afEaseInTime'')]] | |||
|Plays a legacy nif file based animation | |||
|- | |||
|[[PlayImpactEffect - ObjectReference|Bool '''PlayImpactEffect'''(ImpactDataSet ''akImpactEffect'', String ''asNodeName'', Float ''afPickDirX'', Float ''afPickDirY'', Float ''afPickDirZ'', Float ''afPickLength'', Bool ''abApplyNodeRotation'', Bool ''abUseNodeLocalRotation'')]] | |||
|Plays an impact effect. | |||
|- | |||
|[[PlaySyncedAnimationAndWaitSS - ObjectReference|Bool '''PlaySyncedAnimationAndWaitSS'''(String ''asAnimation1'', String ''asEvent1'', ObjectReference ''akObj2'', String ''asAnimation2'', String ''asEvent2'')]] | |||
|Plays two animations simultaneously, waiting for events from both. | |||
''' | |- | ||
|[[PlaySyncedAnimationSS - ObjectReference|Bool '''PlaySyncedAnimationSS'''(String ''asAnimation1'', ObjectReference ''akObj2'', String ''asAnimation2'')]] | |||
|Plays two animations simultaneously. | |||
|- | |||
|[[PlayTerrainEffect - ObjectReference |'''PlayTerrainEffect'''(String ''asEffectModelName'', String ''asAttachBoneName'')]] | |||
|Plays a terrain effect. | |||
|- | |||
|[[ProcessTrapHit - ObjectReference|'''ProcessTrapHit'''(ObjectReference ''akTrap'', Float ''afDamage'', Float ''afPushback'', Float ''afXVel'', Float ''afYVel'', Float ''afZVel'', Float ''afXPos'', Float ''afYPos'', Float ''afZPos'', Int ''aeMaterial'', Float ''afStagger'')]] | |||
|Tells this object to handle the specified trap object hitting it. | |||
|- | |||
|[[PushActorAway - ObjectReference|'''PushActorAway'''(Actor ''akActorToPush'', Int ''aiKnockbackDamage'')]] | |||
|Pushes the other actor away from this object as if hit by the specified amount of knockback damage. | |||
|- | |||
|[[RampRumble - ObjectReference|Bool '''RampRumble'''(Float ''power'', Float ''duration'', Float ''falloff'')]] | |||
|Shakes cam/controller based on distance from player | |||
|- | |||
|[[RemoveAllInventoryEventFilters - ObjectReference|'''RemoveAllInventoryEventFilters'''()]] | |||
|Remove all inventory event filters on this reference. | |||
|- | |||
|[[RemoveAllItems - ObjectReference|'''RemoveAllItems'''(ObjectReference ''akTransferTo'', Bool ''abKeepOwnership'', Bool ''abSilent'')]] | |||
|Removes all items from this container, optionall transferring them to another one. | |||
|- | |||
|[[RemoveInventoryEventFilter - ObjectReference|'''RemoveInventoryEventFilter'''(Form ''akFilter'')]] | |||
|Remove a specific inventory event filter. | |||
|- | |||
|[[RemoveItem - ObjectReference|'''RemoveItem'''(Form ''akItemToRemove'', Int ''aiCount'', Bool ''abSilent'')]] | |||
|Removes the passed in item from this object's inventory. | |||
|- | |||
|[[Reset - ObjectReference|'''Reset'''(ObjectReference ''akTarget'')]] | |||
|Resets this object reference, optionally placing the object at the new target. | |||
|- | |||
|[[Say - ObjectReference|'''Say'''(Topic ''akTopicToSay'', Actor ''akActorToSpeakAs'', Bool ''abSpeakInPlayersHead'')]] | |||
|Causes this reference to speak a topic as if it were the specified actor. | |||
|- | |||
|[[SendStealAlarm - ObjectReference|'''SendStealAlarm'''(Actor ''akThief'')]] | |||
|Sends a steal alarm as if this reference had just been stolen by the actor. | |||
|- | |||
|[[SetActorCause - ObjectReference|'''SetActorCause'''(Actor ''akActor'')]] | |||
|Sets this actor as this object's actor cause. | |||
|- | |||
|[[SetActorOwner - ObjectReference|'''SetActorOwner'''(ActorBase ''akActorBase'')]] | |||
|Sets this actor base as this object's owner. | |||
|- | |||
|[[SetAngle - ObjectReference|'''SetAngle'''(Float ''afXAngle'', Float ''afYAngle'', Float ''afZAngle'')]] | |||
|Sets this object's rotation. Angles are in degrees. | |||
|- | |||
|[[SetAnimationVariableBool - ObjectReference|'''SetAnimationVariableBool'''(String ''asVariableName'', Bool ''abNewValue'')]] | |||
|Sets the value of a variable on the reference's animation graph (bool version). | |||
|- | |||
|[[SetAnimationVariableFloat - ObjectReference|'''SetAnimationVariableFloat'''(String ''asVariableName'', Float ''afNewValue'')]] | |||
|Sets the value of a variable on the reference's animation graph (float version). | |||
|- | |||
|[[SetAnimationVariableInt - ObjectReference|'''SetAnimationVariableInt'''(String ''asVariableName'', Int ''aiNewValue'')]] | |||
|Sets the value of a variable on the reference's animation graph (int version). | |||
|- | |||
|[[SetDestroyed - ObjectReference|'''SetDestroyed'''(Bool ''abDestroyed'')]] | |||
|Sets or clears this object's destroyed flag. | |||
|- | |||
|[[SetFactionOwner - ObjectReference|'''SetFactionOwner'''(Faction ''akFaction'')]] | |||
|Sets this faction as this object's owner. | |||
|- | |||
|[[SetLockLevel - ObjectReference|'''SetLockLevel'''(Int ''aiLockLevel'')]] | |||
|Sets the lock level on this object. | |||
|- | |||
|[[SetMotionType - ObjectReference|'''SetMotionType'''(Int ''aiMotionType'', Bool ''abAllowActivate'')]] | |||
|Sets the havok motion type on this object. | |||
|- | |||
|[[SetNoFavorAllowed - ObjectReference|'''SetNoFavorAllowed'''(Bool ''abNoFavor'')]] | |||
|Sets or clears this object's ability to be not used by a teammate for a favor | |||
|- | |||
|[[SetOpen - ObjectReference|'''SetOpen'''(Bool ''abOpen'')]] | |||
|Opens or closes this object. | |||
|- | |||
|[[SetPosition - ObjectReference|'''SetPosition'''(Float ''afX'', Float ''afY'', Float ''afZ'')]] | |||
|Sets this object's position. | |||
|- | |||
|[[SetScale - ObjectReference|'''SetScale'''(Float ''afScale'')]] | |||
|Set the current scale of the object | |||
|- | |||
|[[SplineTranslateTo - ObjectReference|'''SplineTranslateTo'''(Float ''afX'', Float ''afY'', Float ''afZ'', Float ''afAngleX'', Float ''afAngleY'', Float ''afAngleZ'', Float ''afSplineCurve'', Float ''afSpeed'')]] | |||
|Makes the object translate to the given pos/orient on a spline. | |||
|- | |||
|[[SplineTranslateToRef - ObjectReference|'''SplineTranslateToRef'''(ObjectReference ''arTarget'', Float ''afTangentMagnitude'', Float ''afSpeed'', Float ''afMaxRotationSpeed'')]] | |||
|Makes the reference translate to the target ref position/orient on a spline at the given speed | |||
|- | |||
|[[SplineTranslateToRefNode - ObjectReference|'''SplineTranslateToRefNode'''(ObjectReference ''arTarget'', String ''arNodeName'', Float ''afTangentMagnitude'', Float ''afSpeed'', Float ''afMaxRotationSpeed'')]] | |||
|Makes the reference translate to the target node's position/orient on a spline at the given speed | |||
|- | |||
|[[StopTranslation - ObjectReference|'''StopTranslation'''()]] | |||
|Stops any translation on the object. | |||
|- | |||
|[[TetherToHorse - ObjectReference|'''TetherToHorse'''(ObjectReference ''akHorse'')]] | |||
|Tether a prisoner cart to the given horse. | |||
|- | |||
|[[TranslateTo - ObjectReference|'''TranslateTo'''(Float ''afX'', Float ''afY'', Float ''afZ'', Float ''afAngleX'', Float ''afAngleY'', Float ''afAngleZ'', Float ''afSpeed'', Float ''afMaxRotationSpeed'')]] | |||
|Makes the object translate to the given pos/orient. | |||
|- | |||
|[[TranslateToRef - ObjectReference|'''TranslateToRef'''(ObjectReference ''arTarget'', Float ''afSpeed'', Float ''afMaxRotationSpeed'')]] | |||
|Makes the reference translate to the target ref position/orient at the given speed | |||
|- | |||
|[[WaitForAnimationEvent - ObjectReference|Bool '''WaitForAnimationEvent'''(String ''asEventName'')]] | |||
|Waits for the animation graph to send the specified event. | |||
|- | |||
|} | |||