I always have trouble finding what I'm looking for when I use the search function, so...
Does anyone know the exact 'offset' between where an object (lets say OBJ1) is and where RawDrawImage(GetObjectX(OBJ1), GetObjectY(OBJ1), GetObjectGraphic(OBJ1)) would place the image of it? I wanted to use MergeObject to 'stamp' the object image, but it locks the object from further manipulation.
I think the object co-ordinates are based on the bottom left corner of the object, while the RawDrawImage() co-ords are the top left, so it would be:
RawDrawImage(GetObjectX(OBJ1), GetObjectY(OBJ1) - GetGameParameter(GP_SPRITEHEIGHT, GetObjectGraphic(OBJ1), 0, 0), GetObjectGraphic(OBJ1));
Or something like that. Works for me, but might need some finessing to fit your script, depending on what exactly you want.
I'll try that, thank you very much.