Skip to content

← Previous | Next →


openShop

Description

Opens a specified shop interface for the player.

Basic information

Name Type Possibilities
openShop interaction 1

Parameters

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

Outputs

# Description
1 The shop interface was closed successfully.

Example


  NPC 

  name Merchant 
  model s_m_m_shopkeeper_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    openShop GeneralStore 

  behaviour 
    nothing