JohnWatson Posted January 1, 2017 Share Posted January 1, 2017 PushEvent("ms_save") for example, is there possibly a list of all it can do? Link to comment Share on other sites More sharing options...
CarlZalph Posted January 1, 2017 Share Posted January 1, 2017 There are a lot of events in the game, and they're used for information interchange between entities in a push/catch system. Klei typically adds more when they create new content. To create a list here and now you'd need to know from which entity it originates from and its data parameters which can get outdated. In order to figure out which events you have at your fingertips look at the target prefab and its components, stategraph, and brain for it; any of these may fire events freely. If none of these provide to you an event you need to make a mod function, then you'll need to hook the function(s) in question and either fire an event with your required data or tie your logic in it directly- use events if your logic is done in another entity that requires the information. 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