
-----------------------------------
MyPistolsIn3D
Thu May 20, 2004 5:47 pm

Error -&gt; Pic was never allocated
-----------------------------------
Why am I getting this error? Whats it mean?

-----------------------------------
Dan
Thu May 20, 2004 6:27 pm


-----------------------------------
it means the value you are sending to the pic comand is ehtere not a pic or that pic was not loaded right.

-----------------------------------
Pickles
Thu May 20, 2004 6:43 pm

...
-----------------------------------
loop
    cls
    frenchplaney -= 5
    missiley += 40
    Pic.Draw (sky, 0, 0, picMerge)
    Pic.Draw (frenchplane2, 100, frenchplaney, picMerge)
    Pic.Draw (missile, 100, missiley, picCopy) %% this line here
    View.Update
    exit when missiley + 50 >= frenchplaney
end loop

I think thats what you wanted, it looks like it hits him

-----------------------------------
beedub
Thu May 20, 2004 8:10 pm


-----------------------------------
generally the problem is that the pictures arent in the same directory as ur program. Also, you need to make sure the picture is a .bmp and that u spelled the name of the file correctly.

-----------------------------------
Paul
Thu May 20, 2004 8:11 pm


-----------------------------------
not so in 3.11, you could have that problem in 3.11 for no reason at all, and if u restart it, it usually works.

-----------------------------------
MyPistolsIn3D
Fri May 21, 2004 2:44 pm


-----------------------------------
Ya thx guys, problem was i forgot a "y" on "missiley".
