Or you could always do it "properly" and use the shotsfired count that's
already in there to handle it.
If (gun in burst mode && m_nShotsFired >2) //3 shots per trigger press
        return; //don't fire again till they release the trigger

that's what happens with a real gun according to all the manuals I've read.
It's like full auto, except it stops firing after x amount of bullets fire
(depending on the switch) requiring you to let go of the trigger.


-----Original Message-----
From: r00t 3:16 [mailto:[EMAIL PROTECTED]
Sent: May 9, 2005 4:24 AM
To: [email protected]
Subject: Re: [hlcoders] 3 round burst

Yup that did the trick, was already working on that when u sent the email.
But thanks for the tip.


r00t 3:16
CQC Gaming
www.cqc-gaming.com
----- Original Message -----
From: "Maurino Berry" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 09, 2005 2:28 AM
Subject: RE: [hlcoders] 3 round burst


heh.. why dont you just use a think function for the weapon to call the fire
method x amount of times even y amount of time in an interval, increasing
m_iShotsFired (or something) until its larger than x, then stop the think

_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to