two questions

Blitz3D Forums/Blitz3D Beginners Area/two questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

hello

a couple of questions.

a) I tried to create an array of entity pointers, such as
n = 10
dim cube(n)
for i = 0 to i = n step 1

cube(i) = createCube()

next
but it does not work, why?

b) I created a mesh

man = LoadAnimMesh(" ..")


then I tried to use this entity as parent entity, something like
ball = createSphere(man)

but I get the error message " duplicate variable" referring to the entity man
Thanks in advance for your help