View Full Version : scripting problem

Revan Bakr'
08-19-2002, 05:43 PM
I read in the multiplayer strategy center on how to script attacks. I followed the lunge script, but my player would stop attacking. I did the bind thing right, but that didn't work either. He just kept lunging. Here's how I did it:

//set "lunge" +movedown;wait2;+movedown;wait3;+forward;wait;+att ack;wait6;-movedown;-attack;-forward" bind o "vstr lunge"

What's wrong with this?

08-19-2002, 06:43 PM
Try this:

set lunge "+movedown; wait2; +movedown ;wait3 ; +forward; wait; +attack; wait6; -movedown; -attack; -forward;"

bind o "vstr lunge"

What I've changed:

* Have the qoutation marks around the commands, not the variable

* Put a semicolon after the last command, or it might not be executed.