Touch: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:touch}} ''':touch''' is a built-in ZZT-OOP label that triggers when the player touches (bumps into) an object. == Notes == * Object-to-object colli...")
 
mNo edit summary
 
Line 4: Line 4:
== Notes ==
== Notes ==
* Object-to-object collisions do not emit '':touch'' events.
* Object-to-object collisions do not emit '':touch'' events.
* Locked objects do not emit '':touch'' events, and therefore won't react to the player touching them.
* [[lock|Locked]] objects do not emit '':touch'' events, and therefore won't react to the player touching them.




{{ZZT-OOP navbox}}
{{ZZT-OOP navbox}}

Latest revision as of 18:24, 8 February 2021

:touch is a built-in ZZT-OOP label that triggers when the player touches (bumps into) an object.

Notes

  • Object-to-object collisions do not emit :touch events.
  • Locked objects do not emit :touch events, and therefore won't react to the player touching them.