GetPlayerGrabbedRef - Game
Revision as of 01:57, 19 March 2017 by imported>Lisselli (→Notes: fixed typo)
Member of: Game Script
Obtains the reference the player is currently grabbing.
Syntax
ObjectReference Function GetPlayerGrabbedRef() native global
Parameters
None
Return Value
The ObjectReference that the player is currently grabbing.
Examples
; Obtain the object the player is currently grabbing
ObjectReference curObject = Game.GetPlayerGrabbedRef()
Notes
- This is the function you should use if you're interested in getting the reference of an item held by a telekinesis spell.