I posted an exploding barrel block object at
viewtopic.php?p=34905#p34905 and it's been working fine for a long time. Now, presumably after several editor updates, it not only doesn't work, but it crashes the editor back to the desktop.
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
}
Thinking that I might have added something else that interfered, I created a brand new dungeon, modified it by adding only this one custom object, and when it dies, so does the editor. The barrel isn't at the edge of the level either so out-of-bounds coordinates aren't a factor. Please help.
Thank you, -
Lark