Script Reference Objects

instobj (objectname ; state) //Advanced

Used for : Objects

Parameters :

- objectname - Name of an object in a room.
- state - objectstate 1-10

Description :

Used in an on (mouse) event. Changes the state of an object just for the time the cursor is moving over the object. The better alternative is using on (mouse) and on (mouseout) with each a Setobj command. [Variables] can be used as parameters.