Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Add onObject[Enter/Leave]Zone for all zones#85

I would like to see each zone type gets its own:
onObjectEnter’Zone’( )
onObjectLeave’Zone’()

Currently, you need to have multiple layers of zones to achieve what should be a simple event function call.

Examples: Detecting when a card enters a players hand without relying on looping updates, other events, or worrying that the Scripted Zone has been accidently removed because someones script keeps spawning new ones turning the board into a hazy mess of zones when trying to clean stuff up.

Another example would be having multiple scripting zones on top of each other because you need one to trigger an asset change for a fire trap. one for the whole room to automatically update fog of war zone status based on whose tokens are within it.

With having either a seperate onObjectEnter’Zone’ per zone type or one onObjectEnterZone(zone,obj,type_of_zone), this greatly simplifies some forms of table automation. It could rely on the same type of evenSubscription as onObjectCollision global events do; where you need to register zones other then scripting zones to trigger their respective event functions.

Thank you for your time.

3 years ago
Changed the status to
Research
3 years ago
Changed the status to
In Progress
3 years ago
Changed the title from "More Zone Support Functions." to "Add onObject[Enter/LeaveZone]Zone() for all zones"
3 years ago
Changed the title from "Add onObject[Enter/LeaveZone]Zone() for all zones" to "Add onObject[Enter/Leave]Zone for all zones"
3 years ago
Changed the status to
Completed
3 years ago