Thud: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Stub description of :thud)
 
m (Add navbox)
Line 1: Line 1:
:''':thud''' is a built-in [[ZZT-OOP]] label that triggers when a [[Walk|walking]] object's path is obstructed.
:''':thud''' is a built-in [[ZZT-OOP]] label that triggers when a [[Walk|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.
: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.
{{ZZT-OOP navbox}}

Revision as of 20:26, 7 February 2021

: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.