- Found in:
- Vanilla
voidfunctionOpenInventory(boolabForceOpen=false, FormakFilter=NONE, boolabIncludeOnlyFromFilter=true)Native
[DEV SERVER] Loading description...
Caveats
Parameters
boolabForceOpen=false
CK Wiki Description
Whether to force open the inventory if the actor isn't the player's teammate.
- Default:False
FormakFilter=NONE
boolabIncludeOnlyFromFilter=true
Examples
; Open a friend's inventory
Friend.OpenInventory(); Force open an enemy's inventory
Enemy.OpenInventory(true)Auto-Generated Example
bool myBool__abForceOpen
Form myForm__akFilter
bool myBool__abIncludeOnlyFromFilter
myActor__toCallFunctionOn.OpenInventory(myBool__abForceOpen, myForm__akFilter, myBool__abIncludeOnlyFromFilter)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
