Community Forum

Question about functions

Forum Overview >> Scripting

CategoryScripting
Created16.09.2023 10:35


Barry Ryerson (bazthehat) 16.09.2023 10:35
Hi,

I'm trying to introduce a check on opening the shop menu, to decide whether the menu should open or not. I thought about adding a prepended function to ShopTrigger:onOpen() to test whether it should open, but I can't figure a way to cancel the onOpen function, as "return" will only force close my own prepended function.

Is there a way to force close the super function, or am I just going about this the wrong way?


Note: Log in to post. Create a new account here.