contact
Jump to navigation
Jump to search
contact is an internal object flag in ZZT-OOP. This flag is true for an object when it is standing directly next to the player, and false otherwise.
Usage Example
This object walks toward the player until it's standing next to them.
@object #cycle 1 :loop #if not contact ?seek /i#loop
ZZT-OOP | |
---|---|
Prefixes |
|
Messages | |
Directions | |
Flags | |
Commands |