Background for Fallout 4
Member of the Actor script
boolfunctionSnapIntoInteraction(ObjectReferenceakTarget)Native

Description

Wiki Description

Near-instantly snap this actor into/onto a furniture/mount.

Documentation Comment

(near) Instantly snaps an actor into a furniture or onto a mount


Caveats

CK Wiki - Notes

  • The actor will pop, so try not to do this at a time when the player could be watching.
  • This will not work if the actor has no loaded 3d! (IE, is not in the loaded area) If the actor you want to snap is outside the loaded area, you will have to disable them, move them, and re-enable them.

Parameters

ObjectReferenceakTarget

CK Wiki Description

the furniture or mount to snap this actor into/onto. Please note this will just fail if the furniture is in use or the actor's "seat" on the mount is occupied.


Examples

; Snap the dude into furniture
if TheDude.SnapIntoInteraction(Furniture)
  Debug.Trace("We got into the furniture...")
endIf

Auto-Generated Example

ObjectReference myObjectReference__akTarget

bool returnedValue = myActor__toCallFunctionOn.SnapIntoInteraction(myObjectReference__akTarget)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.