Earthyburt Posted April 29, 2021 Share Posted April 29, 2021 (edited) Hello! I have been using this forum a lot lately, but I think these last few questions should be all I have left so... 1. What are the listenforevent names for digging graves and using wormholes? I would like to create a sanitydelta function when digging graves or using wormholes. (I need help with this function) Sorry that I have been using the forums a lot lately, this should be the last of me for a month or two (hopefully). Thank you to everyone who helped me! Edited April 30, 2021 by Earthyburt Found drop Link to comment Share on other sites More sharing options...
IronHunter Posted April 30, 2021 Share Posted April 30, 2021 I don't think there is an event for digging grave mounds, the .lua file for it is mound.lua, and the minus sanity delta is caused on the onfinishedcallback function for workable. Wormholes have 2 events they play however these events are almost exclusively tailored for specific components: "wormholespit" is used by wisecracker "wormholetravel" is used for playing the local travel sound you can still use them however, wormhole spit is played 1 second after leaving a wormhole where as wormholetravel is fired when travelling through one. 1 1 Link to comment Share on other sites More sharing options...
Earthyburt Posted April 30, 2021 Author Share Posted April 30, 2021 Thank you, it worked flawlessly! 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