When defining a position array like so:
private Position[] path = {
new Position(3165, 3481, 0),
new Position(3164, 3471, 0),
new Position(3157, 3462, 0),
new Position(3145, 3456, 0),
new Position(3131, 3453, 0),
new Position(3121, 3451, 0),
new Position(3116, 3449, 0)
};
I get an error on new Position:
Cannot instantiate the type Position
Any Ideas on what is causing this? Both tutorials available for walking haven't helped. Any help?
//Pizza
Hey. Quick question. I'm working on a script that does a bunch of stuff, but when killing things, I like to use something like this: if monster is under 25% health
right click nearest next target
if monster attacking hp == 0
select option attack
How can I accomplish this? Also is there documentation on the api/hooks?
//Pizza