Hello,
If I use enigma.GetPos() on an item which is currently in inventory or
in some bag, it seems to return the position where the item has last
been on ground.
If this behaviour likely to remain the same?
Also, I just noticed that using first
dynamite = set_item("it-dynamite", orig_x, orig_y)
and then later
local x, y = enigma.GetPos(dynamite)
will cause segmentation fault if the dynamite has been exploded.
Is there a way to check whether the dynamite is still in game without
giving it a unique name and using "if enigma.GetNamedObject() == nil"
--
Markus Laire
_______________________________________________
Enigma-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/enigma-devel