HomShaBom Posted October 1, 2015 Share Posted October 1, 2015 Can we add custom right-click actions in our mods? Like when you mouse over a rabbit, bird, or moleworm in your inventory it tells you that you can "Murder" it but clicking your right mouse button. If you pick it up and mouse over a fire, you can left click it to "Cook". If you pick up a rock, carrot, or seeds (depending on the animal) you can right click to "Feed", or left click to "Swap". For my mod I would want to create my own "action" (i don't know if there's another name that these things already go by) so I would need to be able to set my own text for it and be able to handle that event to run some function. Can we do that in a mod? Link to comment Share on other sites More sharing options...
_Q_ Posted October 1, 2015 Share Posted October 1, 2015 You can.Look there:http://forums.kleientertainment.com/topic/47353-guide-getting-started-with-modding-dst-and-some-general-tips-for-ds-as-well/#ComponentActions 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