OpenInventory - Actor
Revision as of 17:56, 4 March 2010 by imported>Jlundin (New page: Category:Scripting Category:Papyrus '''Member of:''' Actor Script Opens this actor's inventory as if the player were pick-pocketing them. Will only open inventory on player's ...)
Member of: Actor Script
Opens this actor's inventory as if the player were pick-pocketing them. Will only open inventory on player's teammates unless told to force it open.
Syntax
Function OpenInventory(bool abForceOpen = false) native
Parameters
- abForceOpen: Whether to force open the inventory if the actor isn't the player's teammate.
- Default: False
Return Value
None.
Examples
; Open a friend's inventory
Friend.OpenInventory()
; Force open an enemy's inventory
Enemy.OpenInventory(true)