Code: Select all
for _,item in altar_1.surface:contents() do
--etc
end
Code: Select all
for _,item in altar_1.surface:contents() do
--etc
end
Code: Select all
for item in altar_1.surface:contents() do
if item.go.name == "fire_bomb" then
item.go:setSubtileOffset(x,y)
end
end
That's your question? You want to make global functions? You want to know what are the global functions that the scripting system has? Can you be more specific?Global functions?