Messages are sent from triggers when they are triggered and elevators when they arrive at stops.
They are sent to other triggers and elevators, and in some cases just regular sectors and lines (except message: lights, which is sent to the system). They do various things to their recipients.
Messages are placed in the sequence of elevators and triggers.
Messages all have these general syntax:
(sent from an elevator)
| message: [stop number] [receiver] [message] [parameters]
(sent from a trigger)
| client: [receiver]
| message: [message] [parameters]
[receiver] is the receiver of a message. Can be one of the following:
| [sectorname] | receiver is a sector |
| [sectorname([wallnum])] | receiver is a wall |
| SYSTEM | receiver is the SYSTEM (message: lights only) |
[parameters] are parameters specific to the type of message.
Here are the messages:
Remember that when you look at an INF file and you see something like :
| | class: elevator eeeee |
| | stop: 0 |
| | message: 0 mmmmm |
| | stop: 1 |
| | message: 1 mmmmm |
it's only a visual clue, and you could group all the messages in one place and in any order.
Important : if you add a stop, you have to renumber !
Notes:
- When a specific message is not specified, the default message is m_trigger.
- When messages are sent from an elevator, they are sent when it ARRIVES at a stop.
- For some reason, messages can't be sent from "terminate" or "complete" stops.