thud

From Wiki of ZZT
Jump to navigation Jump to search

:thud is a built-in ZZT-OOP label that triggers when a walking object's path is obstructed.

When a walking object can't move forward, it will jump to the first instance of a :thud label, or do nothing if no label was found. Locked objects do not emit :thud events.