ObjectOff Error Message

Started by , Sun 23/05/2004 23:08:29

Previous topic - Next topic

Rodney Rueger

Ok, here's the situation.  I have my background for the first room.  I have a bed in the background, the bed is a hotspot.  I have an object on the bed.  I have an interaction for removing the object from the room when clicked.  I am using AGS version 2.52.  When I run the game and select the hand/interaction cursor and click on the object I get this error message.

An error has occured.  Please contact the game author for support, as this problem is caused by the game rather than the interpreter.
(ACI version 2.52.455)

(Global Script Line 32)
Error: ObjectOff: Invalid object specified.

I think I am running the game like Lucas Arts.  Any help would be appreciated, thanks.

Gilbert

That means you're refering to a non-existing object # in that room, double check the line and see if you have set the corrent parameter.

Rodney Rueger

Thank you so much.  I didn't think about the object number for the room.  I put in the sprite number, the number given the image into AGS.  Thanks a bunch.

SMF spam blocked by CleanTalk