Page 1 of 1

Character Shooting Cooldown

Posted: Fri Sep 15, 2023 1:32 pm
by blueblue
I'd like a way to access the current shooting cooldown of a character, i.e. the current time until the character can shoot again, during control stage. Read and write.

I've made a mod that allows the player to jump, which works by replacing the character entity (for collision, belt immunity, rendering, movement speed reasons). Currently the player gets a cooldown reset every time the player jumps. Same problem with the jetpack mod and a few other mods.

Edit: an alternative solution for my particular problem would be that the copy_settings function copies the cooldown.