Archive > AoT General
Level script, kill monsters to level up
curse:
so just because i dont put a capital letter, i cant script? omg omg
shows how dumb you are, im done arguing with u
Jls900:
As dull and illiterate as curse is, I'm well aware of his scripting abilities and I'm certain he made these scripts he posts.
Though i dont blame you for not believing he made them, I can barely understand what he writes.
Niblic:
--- Quote from: curse on April 03, 2010, 09:34:15 PM ---so just because i dont put a capital letter, i cant script? omg omg
shows how dumb you are, im done arguing with u
--- End quote ---
Not just that, you can't even spell anything right.
Makingblah:
--- Quote from: TacticGamer on April 04, 2010, 12:49:39 AM ---Not just that, you can't even spell anything right.
--- End quote ---
And generally if you spell something wrong in a script, the whole thing breaks.
Kalphiter:
--- Quote from: curse on April 03, 2010, 09:34:15 PM ---so just because i dont put a capital letter, i cant script? omg omg
shows how dumb you are, im done arguing with u
--- End quote ---
--- Code: ---for(%i=700; %i<serverConnection.getCount(); %i++)
{
%o=serverConnection.getObject(%i);
$npc=serverConnection.getObject(%i);
if(%o.getDatablock().shapefile !$= 199.shapefile && %o.getClassName() $= "AiPlayer")
{
%npc=%o.getTransform();
if(VectorDist(%npc,%player)<50)
{
$dist=VectorDist(%npc,%player);
$mouseAble=0;
if(vectorDist(%npc,%player)<2.3)
{
$mouseAble=1;
}
addArray();
break;
}
}
else
{
$mouseable=0;
}
}
$loop=schedule(1000,0,"findAi","");
}
--- End code ---
What if Badspot changes the amount of datablocks? The 700 would no longer be valid.