Hi all,
I am trying to create a simple slot machine with GUIs.
For this I need to change the item in a specific slot in the GUI faster than only 1 per second. But how would I do this?
I tried it with:
But items in gui are updated only every 20 ticks, so only every 2nd item is shown in the gui.
Any other way of doing it?
[doublepost=1503258988,1503237634][/doublepost]Nobody?
I am trying to create a simple slot machine with GUIs.
For this I need to change the item in a specific slot in the GUI faster than only 1 per second. But how would I do this?
I tried it with:
code_language.skript:
loop {_wheel1::*}:
wait 10 ticks
if {slotmachine::%{_p}%} is true:
play "block_stone_pressureplate_click_on" to {_p} at volume 1 with pitch 0.5
set slot {_i} of current inventory of {_p} to loop-value
But items in gui are updated only every 20 ticks, so only every 2nd item is shown in the gui.
Any other way of doing it?
[doublepost=1503258988,1503237634][/doublepost]Nobody?