Log in

View Full Version : Failed to compile...



Fused Halos
08-21-2008, 08:38 AM
OK I'm trying to run some scripts and most of them say Failed to compile (then it goes to next lines and say something like)Line 1671: [Error] (17902:4): Unknown identifier 'FindObjOre' in script C:\Users\Kevin\Desktop\[Srl4] QuickPowerMiner3.4 Pro.scar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And if this helps this is what was on line 1671
if FindObjOre(cx,cy,'ocks',orecolor,tol,mincount)then
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By the way I always have problems with that thing it says on line 1671. The only script I can currently run is narcles autofighter. I know this is a noob question and can be fixed easily but I'm so dumb about computers so please word it as simple as you can. Thanks for any help given :redface:

Naum
08-21-2008, 12:49 PM
I think it is FindObjOre2. Check the includes ;)

EvilChicken!
08-21-2008, 01:07 PM
God, I'm sorry for posting the wrong answer.
The script is probably outdated, it has had it's good times. :(

Nava2
08-21-2008, 05:12 PM
Don't double post. This post is also in Scripting Help.

Fused Halos
08-21-2008, 10:22 PM
I seen that i posted in wrong place so I posted in better place I'm not trying to double post