Skip to content

← Previous | Next →


openStorage

Description

Opens a specified storage interface for the player.

Basic information

Name Type Possibilities
openStorage interaction 1

Parameters

# Name Type Mandatory Description Multiple
1 storageName string Yes The name of the storage to open. No

Outputs

# Description
1 The storage interface was closed successfully.

Example


  NPC 

  name WarehouseKeeper 
  model s_m_m_warehouse_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    openStorage WarehouseStorage 
      tell "You can access the storage here." 

  behaviour 
    nothing