I've waited as long as I can, but I'm dying to do some things, but need the script reference. Until then, does anyone have any idea how to convert the following LoG1 object? Doing so would answer several questions: I believe it's just "defineObject" now, I need to add height to the spawn line, but "onDie" and "self." don't work in LoG2.
Code: Select all
cloneObject{
name = "exploding_barrel_block",
baseObject = "barrel_crate_block",
onDie = function(self)
for i = -1, 1 do
for j = -1, 1 do
spawn("fireburst", self.level, self.x + i, self.y + j, 0)
end
end
end
}