×

OnCakeMachineDestroy

 

The "OnCakeMachineDestroy" event is executed as soon as the player destroy a cake machine;

This also provides the following information:

Input:

  • UniqueID - INTEGER64 - gives a unique number that identifies the cake machine; this identifier does not change when the cake machine is moved or a new day starts, but it is changed as soon as the game restarts.