Jump to content

Recommended Posts

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

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

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...