ah_sce_unpacked/unpacked/Custom_Tile Phase Tracker d0c8fa.ttslua

16 lines
364 B
Plaintext
Raw Normal View History

2021-01-02 22:49:38 -05:00
function onLoad()
-- Add a button to the object
local params = {}
params.click_function = 'toPhaseTwo'
params.function_owner = self
params.tooltip = ''
params.width = 600
params.height = 600
self.createButton(params)
end
function toPhaseTwo()
2021-11-16 23:41:43 -05:00
for _, tracker in ipairs(getObjectsWithTag("LinkedPhaseTracker")) do
tracker.setState(2)
end
2021-10-18 15:54:27 -04:00
end