Thanks boodals, it worked. I just didn't want it so that they could aim up and take off like a rocket ship, so I did this:
%client.abilityOneCD = $Sim::Time + 2;
%vec = vectorScale(%client.player.getEyeVector(), 100);
%x = getWord(%vec,0);
%y = getWord(%vec,1);
%client.player.setVelocity(%x SPC %y SPC 2);
%client.player.schedule(300, setVelocity, "0 0 0");
I'm not exactly sure what to do with the topics situation, if I made a new one every time I would feel like I'd be spamming. In the past people have advised me to not edit the OP, but change the title.
--
Small question, if I wanted to change a variable on a schedule, how'd I go about doing that? Basically I have %client.isAdrenalineMode set to one, but when it wears off I want it to be set to 0. Is there a way to do this without creating a special function for it?