Jump to content

Is it possible to create a delay between bursts?


Recommended Posts

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.

Edited by DerRadikaleRichard (see edit history)
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...