Hi dudes,
can someone help me? Im not really good making .lua so I dont know how to do this.
I want to disable targeting if I dont have spears left, can someone help me please?
Thank you!
Hi dudes,
can someone help me? Im not really good making .lua so I dont know how to do this.
I want to disable targeting if I dont have spears left, can someone help me please?
Thank you!
It's a bird... it's a plane... NO IT'S SAIONZ!
Okey I fix that there wasnt another "end" but there is a problem, when I dont have spears it disables the targeting, but when I have spears again, it doesnt enable it, help please?
Thanks @icaro43 !
Edit: Okey I fix it.
lua code:
But how can I change the amount of the spears, without change anything in the .lua?Code:local spearID = 7378 -- set the spear id. [7378 = royal spear], [3277 = regular spear] while(true)do if(Self.ItemCount(spearID) == 0)then setTargetingEnabled(false) TargetingEnabled = false wait(200, 600) elseif(Self.ItemCount (spearID) == 34) then setTargetingEnabled(true) TargetingEnable = true wait (200, 600) end end
Last edited by Saionz; 04-01-2013 at 12:41 PM.
It's a bird... it's a plane... NO IT'S SAIONZ!
Use a spike sword or something when u dont have spears, and just target with that one, thats how i dis with my paladin lvl 8-80
hehe kk, tought u wanted it for a lower lvl since if ur using the script Tarpit tomb (as i guess seeing the kind of creatures u kill and thats the best tomb script) Just set your min spears to a higher value, and if u still want to have a script like that, i cant help you xD gl tho
which script u mean is the best of tarpit tomb? I did my own cuz @Joshwa534 didnt help me to fix his script xdd, u mean his script ?
It's a bird... it's a plane... NO IT'S SAIONZ!
Yeah @Joshwa534 has the best scripts (in my opinion) so i recommend using hes, tho what do you mean by not helping you fix it? ;o I just paid and got linked to the downloadpage right away?![]()
Yes I bought it too, but its not working for me, it does somethings strange, it gets walker stuck on the "Nohardcore" part and I told him and sent screen about it and he didnt fix it Uu... and it always goes to refill, no matter if I have enough supplies, it always leave...
It's a bird... it's a plane... NO IT'S SAIONZ!
Well its a bug for me too there, i spoke to him about it he said u can go passed blue flame all the time, no matter what lvl, so i did, much better exp/h, so i suggest you do that xD tho mine is not refilling all the time, so that problem is most likely from your side, tho just check hes lua, set everything right, set true at go passed the blue flame (hardcore) and try it again, u will have a good time!
Edit: "mine is not refilling all the time" What i mean is, it only refills when it should refill