Set Doodad State
Turns doodad units in the location on or off: the doors and traps of the Installation and other tilesets, which the map places as units.
Action 42 · Set Doodad State(Player, Unit, Location, State);
| Argument | Takes | Stored in the action |
|---|---|---|
| Player | a player or group | bytes 16–19 |
| Unit | a unit type, or one of the unit classes | bytes 24–25 |
| Location | a location (Anywhere is location 64) | bytes 0–3 |
| State | enable, disable or toggle | byte 27 |
Set Doodad State("All Players", "Right Upper Level Door", "Door", disable);