- /*
- ==============================================================================
- GATLING ACTIONS
- ==============================================================================
- */
- /*
- ================
- W_GatlingSpinUp
- ================
- */
- void() W_GatlingSpinUp =
- {
- sound (self, CHAN_WEAPON, "weapons/mingn1.wav", 1, ATTN_NORM);
- self.attack_finished = time + 0.9;
- if (self.attack_finished > 0.9){
- W_GatlingShoot ();
- }
- };
- /*
- ================
- W_GatlingShoot
- ================
- */
- void() W_GatlingShoot =
- {
- if ((!self.button0) || (!W_CheckNoAmmo()) || (self.health <= 0))
- {
- W_GatlingSpinDown();
- }
- if (self.t_width < time)
- {
- sound (self, CHAN_WEAPON, "weapons/mingn2.wav", 1, ATTN_NORM);
- self.t_width = time + 0.95;
- }
- };
- /*
- ================
- W_GatlingSpinDown
- ================
- */
- void() W_GatlingSpinDown =
- {
- sound (self, CHAN_WEAPON, "weapons/mingn3.wav", 1, ATTN_NORM);
- self.attack_finished = time + 0.9;
- };
SHARE
TWEET
Untitled
a guest
Oct 12th, 2015
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
