You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added helper function controller:TimerCreate similarly controller:TimerSimple. This repeats the behavior and arguments from the timer library, but checks the validity of the controller before callback.
Added method MetaTarget:IsValid() that returns true if at least one nested entity is valid and the controller is valid. This allows you some cases such as SafeRemoveEntity(target) and IsValid(target). However, calling target:Remove() actually also checks the validity, and will not cause an error.
Fixes
Improve the controller design imperfection. Now you can create any output for any entity, even those that incorrectly set the activator and caller values in engine. For example, you can now use OnLockedUse on func_door.
Fixed a script error when creating a MetaTarget after OnMapLogicInitialized by passing the entity directly.