Difference between revisions of "OpenInventory - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
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 ...)
 
imported>Jbezorg
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
'''Member of:''' [[Actor Script]]
'''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.
Opens this actor's inventory. Will only open inventory on player's teammates unless told to force it open.


== Syntax ==
== Syntax ==
Line 30: Line 30:
== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[ShowGiftMenu_-_Actor]]

Latest revision as of 18:40, 27 May 2013

Member of: Actor Script

Opens this actor's inventory. Will only open inventory on player's teammates unless told to force it open.

Syntax[edit | edit source]

Function OpenInventory(bool abForceOpen = false) native

Parameters[edit | edit source]

  • abForceOpen: Whether to force open the inventory if the actor isn't the player's teammate.
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Open a friend's inventory
Friend.OpenInventory()


; Force open an enemy's inventory
Enemy.OpenInventory(true)

See Also[edit | edit source]