BazaarRealmMod/Source/Scripts/BRVendorScript.psc

17 lines
518 B
Plaintext
Raw Normal View History

scriptname BRVendorScript extends Actor
ObjectReference property BRMerchChest auto
event OnActivate(ObjectReference akActionRef)
debug.Trace("BRVendorScript OnActivate")
BRMerchChest.RegisterForMenu("BarterMenu")
RegisterForMenu("Dialogue Menu")
endEvent
event OnMenuClose(string menuName)
if menuName == "Dialogue Menu"
debug.Trace("BRVendorScript OnMenuClose Dialogue Menu")
BRMerchChest.UnregisterForMenu("BarterMenu")
UnregisterForMenu("Dialogue Menu")
endif
endEvent