2020-10-13 01:26:16 +00:00
|
|
|
scriptname BRMerchPrevPageScript extends ObjectReference
|
|
|
|
|
|
|
|
Keyword property BRLinkMerchShelf auto
|
|
|
|
Actor property PlayerRef auto
|
|
|
|
Quest Property BRQuest Auto
|
|
|
|
|
2020-10-16 03:42:57 +00:00
|
|
|
event OnActivate(ObjectReference akActionRef)
|
2020-10-13 01:26:16 +00:00
|
|
|
if akActionRef == PlayerRef
|
|
|
|
ObjectReference MerchantShelf = self.GetLinkedRef(BRLinkMerchShelf)
|
|
|
|
BRQuestScript BRScript = BRQuest as BRQuestScript
|
2021-01-24 01:11:47 +00:00
|
|
|
bool result = BRMerchandiseList.PrevPage(MerchantShelf)
|
|
|
|
Debug.Trace("BRMerchandiseList.PrevPage result: " + result)
|
|
|
|
if !result
|
|
|
|
Debug.MessageBox("Failed to load or clear shop merchandise.\n\n" + BRScript.BugReportCopy)
|
|
|
|
endif
|
2020-10-13 01:26:16 +00:00
|
|
|
endif
|
2020-10-16 03:42:57 +00:00
|
|
|
endEvent
|