Bug: getSubtileOffset() only returns x

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
Post Reply
User avatar
ReFreezed
Posts: 8
Joined: Tue Nov 25, 2014 7:10 pm
Contact:

Bug: getSubtileOffset() only returns x

Post by ReFreezed »

When writing a script, GameObject:getSubtileOffset() only seem to return the x offset and not the y offset.

Code: Select all

-- Example:
local x, y = party:getSubtileOffset()
print(x, y) -- x is a number but y is nil
(The game version is 2.1.17)
minmay
Posts: 2780
Joined: Mon Sep 23, 2013 2:24 am

Re: Bug: getSubtileOffset() only returns x

Post by minmay »

Seems to be present in 2.1.18 as well.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Bug: getSubtileOffset() only returns x

Post by petri »

Thanks for the bug report! Will be fixed in the next version.
Post Reply