malware-dev / MDK-SE

Malware's Development Kit for SE
MIT License
1.02k stars 123 forks source link

check call back event from any block when finish work #297

Closed hassanFraihat7780 closed 1 year ago

hassanFraihat7780 commented 1 year ago

need check callback event from block when finish working .

ex: need callback from IMyExtendedPistonBase when finish expand .

any help

malware-dev commented 1 year ago

Hi. There are no events at all in the PB API, as events leak if you don't know what you're doing. You need to poll for state.

That said, this site is not for script help, these issues are purely for MDK problems. Go to Keen's discord, #programmable-block channel, to get help for scripting.