Hi everyone, I want to make sure that when I load the script it will automatically set the {chest.looted} variables for all chests to false. I tried everything. Here is my code -
on load:
loop all blocks:
if loop-block is chest:
if {chest.looted::%loop-block%} is true:
set {chest.looted::%loop-block%} to false
edit: And I want to make sure the chests are cleared.
on load:
loop all blocks:
if loop-block is chest:
if {chest.looted::%loop-block%} is true:
set {chest.looted::%loop-block%} to false
edit: And I want to make sure the chests are cleared.