Messed Up With Scripting

xakkxakk Join Date: 2004-10-11 Member: 32212Members
Well, i tried to do my own pistol script to shoot all 10 bullets at once but, well,... i ended up with a not-working pistol(it doesnt work AT ALL), and as soon as i select the LG it just fires nonstop unstill the clip is empty.

The script i used went like:

Alias Pis "+attack;wait;+attack;wait"
Bind Mouse3 "Pis"

Overwriting the Alias with
Alias Pis "+wait"
didnt help either.

Help >_>

Comments

  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    For every + command you need a - command.

    Alias Pis "+attack;wait;<span style='color:yellow'>-</span>attack;wait"
  • xakkxakk Join Date: 2004-10-11 Member: 32212Members
    Alright, the main problem is solved. But i still cant get my pistol script to work even when i add the -attack lines.
  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    The problem is that there is a cap on the max rof of the pistol, and due to that cap it is not responding to all of your +attack commands.

    If you have: +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack
    It is only firing on a few: <span style='color:yellow'>+attack; wait; -attack;</span> wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait; +attack; wait; -attack; wait;<span style='color:yellow'> +attack</span>

    You need to put more than one wait command in between each set of +attack; wait; -attacks
Sign In or Register to comment.