Open crater0 opened 3 months ago
Test map containing a few entities for testing CallbackFunc, ConnectionStateChangeCallback, PlayerLookAtCallback, and PlayerInteractCallback. Triggering these will set a new callback func, which now fails. Attempting to use the entity/trigger the callback again will throw an error.
https://steamcommunity.com/sharedfiles/filedetails/?id=3261666604
Entity callback functions no longer be changed once set. Attempting to change some of them prevents that callback from working again, as the callback now triggers a script error upon being triggered.
Regression from 1.5
Callbacks confirmed to be broken:
SetEntityPlayerLookAtCallback
SetEntityCallbackFunc
SetEntityPlayerInteractCallback
SetEntityConnectionStateChangeCallback
Other non entity callbacks do not seem to be affected. I was unable to test changing a MultiSlider callback with
SetMultiSliderCallback
due to #18