• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Is it possible to create a delay between bursts?

I am currently working on a mod and one of the things its supposed to do is make burst mods different from semi and full auto by increasing the rate of fire signifficantly,

however the porblem then is that you can just spam LMB and it will fire alot faster then a fully automatic weapon so i would need to be able to set a delay between each burst somehow.

i cant do any real coding so im just loking for XMl code.

 
Last edited by a moderator:
I'm not sure if there's a way directly in the item, but what i would personally do is make a buff that uses the delay time as your duration. Then require NotHasBuff on the weapon to fire. This way if they have the buff, they cannot fire. It's a bit hacky, sure... but it will work if you can't find another solution.

 
Back
Top