GetPlayerGrabbedRef

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

GetPlayerGrabbedRef returns a reference to the object ref the player is currently grabbing (if any).


Syntax[edit | edit source]

GetPlayerGrabbedRef  ; returns the ID of the reference the player is currently grabbing
set refVar to GetPlayerGrabbedRef

Example[edit | edit source]

GetPlayerGrabbedRef   ; if the player is currently dragging a corpse around, this command returns the reference ID of the corpse

Notes[edit | edit source]

  • None at this time

See Also[edit | edit source]

Papyrus Version[edit | edit source]

GetPlayerGrabbedRef - Game