
|
Crossed is sent by a surface of an adjoin when a thing passes through it. Note that this means crossing is "one-way". If you want a crossed handler to detect crossing both ways through the adjoin, then both surfaces of the adjoin must be linked to the cog using the handler.
| Sender Ref: | The surface that was crossed. |
| Source Ref: | The thing that crossed it. |
| Sender Type: | Surface (6). |
| Source Type: | Thing (3). |
NOTE: TeleportThing() doesn't move the player thing when run in a crossed handler. The workaround is to place the TeleportThing() statement in a timer handler and use SetTimer(0.01) statement in the crossed handler.