View Full Version : Fightmode help
xdanx
02-25-2007, 12:54 PM
It puts me on defense mode when I start a script, how do I change that?
Thankyou.
Hey321
02-25-2007, 01:01 PM
SetFightMode('1 2 3 or 4') i believe.1 is attack 2 is str 3 is all 4 is def.
xdanx
02-25-2007, 01:37 PM
ah, but where is the Fightmode part?
I cant find it in the script (goblin scheduler)
Hey321
02-25-2007, 02:12 PM
Lol, it's in the player area i believe.
xdanx
02-25-2007, 02:17 PM
Hmm I didnt see it =/ gahh where is it..
+ the script runs slowly for me :(
I need help.
Jason2gs
02-25-2007, 05:36 PM
procedure SetPlayerParams;
begin
if ( not ( LoggedIn )) then Exit;
WieldAll;
GameTab(1);
If AutoLevels then
SetLowest
else
begin
if Players[CurrentPlayer].Skill = 'attack' then SetFightMode(1);
if Players[CurrentPlayer].Skill = 'strength'then SetFightMode(2);
if Players[CurrentPlayer].Skill = 'defence' then SetFightMode(4);
LampSkill := LowerCase ( Players[CurrentPlayer].Skill );
if Players[CurrentPlayer].Skill = 'auto' then SetLowest;
end;
FTWaitD(1000 + Random(500));
SetChat('on', 1);
SetChat('friends', 2);
SetChat('off', 3);
SetChat('on', 1);
FindTalk;
StartTime := GetSystemTime ;
end;
Right there. Just do a search for the procedure, and you'll be able to change the fight modes to what you want.
Or you can set the const "AutoLevels" to false, that'll keep it what you set it as. (So I do believe.)
Heck, if you wanted to you could put in some HotKeys...
if(IsFKeyDown(12))then
SetFightMode(1);
If you place it in the right area, you'll be able to change the fight modes by simply pressing a button. Pretty cool, eh?
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.