View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:37 pm



Reply to topic  [ 3 posts ] 
 Change RateOfFire after a couple of Shots? 
Author Message

Joined: Mon Oct 15, 2012 5:21 pm
Posts: 879
Location: Somewhere in Germany
Reply with quote
Post Change RateOfFire after a couple of Shots?
I want to make a weapon which shoots a burst of, lets say, 3 bullets at a rate of 900 RPM, but then it should shoot at 600 RPM if the Actor contiones to shoot. Is it even possible? I mean, the DAKKAGun changes the RPM, so it should be possible.


Fri Mar 22, 2013 3:09 pm
Profile
User avatar

Joined: Fri Feb 16, 2007 8:43 pm
Posts: 1695
Location: AH SHIT FUCK AUGH
Reply with quote
Post Re: Change RateOfFire after a couple of Shots?
Should indeed be possible. I haven't tested this code, but i am reasonably certain that it works (if not, chuck me a PM or something). Here's with comments...
Attachment:
File comment: WITH LOADSA COMMENTS
BURSTY THING.lua [1.18 KiB]
Downloaded 371 times

And without pesky comments:
Attachment:
File comment: WITHOUT LOADSA COMMENTS
BURSTY THING no comments.lua [564 Bytes]
Downloaded 350 times

My take on it, anyways. There's probably a far easier way to do it, but hey, i'm not magical. :U


Sat Mar 23, 2013 3:09 pm
Profile WWW

Joined: Mon Oct 15, 2012 5:21 pm
Posts: 879
Location: Somewhere in Germany
Reply with quote
Post Re: Change RateOfFire after a couple of Shots?
Thanks Shook. It worked. Now, how to get that script working...
EDIT: It worked. Thank you, oh dear ANGRY SPACE LAZORS Game Creator and popular Modder of hilarious Mods.


Sat Mar 23, 2013 4:00 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 16 Queries | GZIP : Off ]