Part6 message type

Summary

bulletDungeon trap is passive.
bulletPlayer triggers actuator.
Actuator delivers message.
Sometimes message make the door open/close.
Thus dungeon trap is passive.
bulletMessage type is one of set/clear/toggle.
bulletDeliver a message to door causes,
"Set": opens a door.
"Close": closes a door.
"Toggle": opens/closes a door.

Where are messages from?

Their messages are sent from actuator (includes DSA actuator).

Sometimes an actuator is visible to player (such as push button/trap floor).

If player ...

bulletpush a button,
bulletstep to the floor plate,
bulletwatch a item to sensor,
bullettake the item on floor,
bulletexplode a spell (only DM2),
bulletenter/leave the level (only DM2),
bulletdefeat the monster (only DM2),
bulletthrow a pyro to furnace (only DM2),
bulletetc,

Then actuator sends a message to objects (door/pitfall/teleporter/false pit/etc) to interact with dungeon trap.

Set/clear/toggle

Usually actuator targets dungeon objects (door/pitfall/teleporter/false pit/etc).

If actuator is activated, it sends message to trap.

The working (by receving message) depends on what kind of dungeon object is.

Send ... message to ... Set Clear Toggle
Door Open the door Close the door Open the door when closed.
Close the door when opened.
Pitfall Open the pitfall Close the pitfall Open the pitfall when closed.
Close the pitfall when opened.
Teleporter Enable it Disable it Enable it when disabled.
Disable it when enabled.
False wall (Untested) (Untested) (Untested)
Actuator ??? ??? ???
DSA Enter a DSA state.
DSA Column is one of S0/S1/S2/S3
Enter a DSA state.
DSA Column is one of C0/C1/C2/C3
Enter a DSA state.
DSA Column is one of T0/T1/T2/T3

??? means its work is not constant. it depends on actuator's type.