GetPlayerGrabbedRef

From the CreationKit Wiki
Revision as of 17:10, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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