setobj

Script Reference Objects

setobj (objectname ; state ; state2 ; state3...) //Beginner

Used for : Objects.

Parameters :

- Objectname - Name of an object in a room.
- state - 0-10.
- state1, atate2... - Optional : Additional states.

Description :

Changes the state of an object or an objectgroup. Possible states are 0-10. 0 means the object is disabled and not visible. You can add up to 9 additional states. The game will change the object state one after another and keep the last one. [Variables] can be used as parameters.