Description
Wiki Description
Opens this actor's inventory. Will only open inventory on player's teammates unless told to force it open.
Documentation Comment
Opens this actor's inventory, as if you were pick-pocketing them. Only works on teammates, or anyone if forced.
Caveats
Parameters
boolabForceOpen=false
CK Wiki Description
Whether to force open the inventory if the actor isn't the player's teammate.
- Default:False
Examples
; Open a friend's inventory
Friend.OpenInventory(); Force open an enemy's inventory
Enemy.OpenInventory(true)Auto-Generated Example
bool myBool__abForceOpen
myActor__toCallFunctionOn.OpenInventory(myBool__abForceOpen)Related Pages
- Actor
- Actor.ShowGiftMenu(...)
