Hierophant Green 0 Posted June 9 Share Posted June 9 Is it possible to return with EventLua? Link to comment Share on other sites More sharing options...
TechMecca 7 Posted June 10 Share Posted June 10 Hello, You can set a variable and modify it based on specific conditions as shown below: bool results = false; EventsLuaWithArgs.OnEventsLuaWithArgs += (name, args) => { if (name == "PLAYER_DEAD") results = true; }; OnEventsLuaWithArgs` is an event listener that triggers the specified action when the event occurs. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now