Endstar LUA API Documentation
|
An event within lua that will broadcast a change. Can be subscribed to in Lua code. Use "SubscribeToLuaEvent" and "UnsubscribeToLuaEvent" to manage subscription Example: local health = context.TryGetComponent(Component.Health) SubscribeToLuaEvent(health.OnHealthChanged, "MyFunctionName") More...
An event within lua that will broadcast a change. Can be subscribed to in Lua code. Use "SubscribeToLuaEvent" and "UnsubscribeToLuaEvent" to manage subscription Example: local health = context.TryGetComponent(Component.Health) SubscribeToLuaEvent(health.OnHealthChanged, "MyFunctionName")