GetPlayerCanPickpocketEquippedItems

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin.

Description

Returns 1 if the player can pickpocket equipped items, 0 otherwise.

Syntax

[help]
(bool) GetPlayerCanPickpocketEquippedItems 

Or:

(bool) GetPCCanStealEqItems

Example

GetPlayerCanPickpocketEquippedItems 

Notes

  • By default, the player cannot pickpocket equipped items, unless they have `bPickpocketWornItems` enabled in lStewieAl's Tweaks.
  • To avoid conflicts with lStewieAl's Tweaks, most notably its `bPickpocketWornItems` option, this function decides whether or not the player can pickpocket equipped items by checking if ANY call hook has been made to one of the game's internal functions. This means that if another plugin also modifies that address, this function could break.

See Also