- Joined
- Jul 12, 2018
- Messages
- 560
So i'm a GUI user who recently converted my map to Lua.
As we know, in Jass you can keep items from disappearing from a shop by running the following trigger:
From what i've been told the only difference in custom scripting to a GUI user between Lua and Jass is that you delete the "call " bit.
This trigger doesn't seem to function anymore though despite doing that.
Any suggestions? Thanks in advance.
As we know, in Jass you can keep items from disappearing from a shop by running the following trigger:
The trigger below will stop items that are added to shops via trigger from disappearing after purchasing them.
Shop Setup
Events
Map initialization
Conditions
Actions
Custom script: call PauseTimer(bj_stockUpdateTimer)
Custom script: call DisableTrigger(bj_stockItemPurchased)
From what i've been told the only difference in custom scripting to a GUI user between Lua and Jass is that you delete the "call " bit.
This trigger doesn't seem to function anymore though despite doing that.
Any suggestions? Thanks in advance.