Zaracotic1 Posted May 14, 2025 Share Posted May 14, 2025 Hey, I'm pretty close to finishing my first mod, but I am having consistent trouble with having the client instigate an event ("crocodile_usesandburst") using a keybind (in this case it is Z) The issue is, from my findings, that this issue is only in worlds that have caves enabled. When pressing the keybind, nothing really seems to happen at all. I can however use player:PushEvent("crocodile_usesandburst") to trigger the event forcefully ingame without the key press, seemingly working well. In non-cave worlds, the function and keybind work fine and everything operates normally. This is really the only thing in the mod that seems to be affected by this issue, and after a couple days of trial and error, I'm not sure where to go next. If anyone could give me some tips or suggestions, or anything really, I'd be grateful. Thanks. Below is a version that works fine in non-cave worlds: Crocodile.zip Link to comment https://forums.kleientertainment.com/forums/topic/165705-enabling-caves-disturbs-eventkeybind-relationship-in-character-mod/ Share on other sites More sharing options...
Haruhi Kawaii Posted May 15, 2025 Share Posted May 15, 2025 On 5/14/2025 at 1:37 PM, Zaracotic1 said: Hey, I'm pretty close to finishing my first mod, but I am having consistent trouble with having the client instigate an event ("crocodile_usesandburst") using a keybind (in this case it is Z) The issue is, from my findings, that this issue is only in worlds that have caves enabled. When pressing the keybind, nothing really seems to happen at all. I can however use player:PushEvent("crocodile_usesandburst") to trigger the event forcefully ingame without the key press, seemingly working well. In non-cave worlds, the function and keybind work fine and everything operates normally. This is really the only thing in the mod that seems to be affected by this issue, and after a couple days of trial and error, I'm not sure where to go next. If anyone could give me some tips or suggestions, or anything really, I'd be grateful. Thanks. Below is a version that works fine in non-cave worlds: Crocodile.zip 7.63 MB · 3 downloads This might be helpful Link to comment https://forums.kleientertainment.com/forums/topic/165705-enabling-caves-disturbs-eventkeybind-relationship-in-character-mod/#findComment-1816026 Share on other sites More sharing options...
Zaracotic1 Posted May 15, 2025 Author Share Posted May 15, 2025 Thanks! Link to comment https://forums.kleientertainment.com/forums/topic/165705-enabling-caves-disturbs-eventkeybind-relationship-in-character-mod/#findComment-1816036 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