![]() |
|
#1
|
|||
|
|||
|
I decided to make a chicken script in Rook. Tell me what you think about it
![]() Also I noticed that none of the scripts here go to Al Dee's shop. This is my first script I've ever done ![]() This script is for the facc area of Rook.. The loot number for feathers is : 5890 Credits to Mahamad_4u for making the chicken attacker! To make this script work go to Tools, Scripter, then paste in the code below and press execute. Code:
Const
Monster = 'Chicken'
function GetCreatureByName(Name: string): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].Z <> Self.Z then Continue;
if Creatures.Creature[x].Name = Name then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;
while not Terminated do
begin
UpdateWorld;
if not Self.Attacking then
begin
Creature := GetCreatureByName(Monster);
if Creature <> nil then Creature.Attacking := True;
end;
Sleep(1000);
end;
Last edited by Danny_Boi; 03-01-2008 at 08:25 AM. Reason: Edited the script to make it work properly. |
|
#2
|
|||
|
|||
|
might im wrong... but you need include chicken atack script ;s
That'll not atack chickens :S |
|
#3
|
|||
|
|||
|
eerm thats supposed to be a .ng script
|
|
#4
|
|||
|
|||
|
it rox eheheh nice ty for all
|
|
#5
|
|||
|
|||
|
plx tell me how u open the script i opened scripter but i cnt find the script help me plx
|
|
#6
|
|||
|
|||
|
options->script..paste->execute
|
|
#7
|
|||
|
|||
|
yeh i worked it out thx
|
|
#8
|
|||
|
|||
|
ty guys, if u like it give me rep please
![]()
|
|
#9
|
|||
|
|||
|
Omg...where do I find these god damn chikens??
|
|
#10
|
|||
|
|||
|
In rookgaard
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|