Hi Bulsatar
I've had a quick look at your code and found a few problems.
First off, the 3ds model crashed the program when I ran it. I replaced it with a cube just to get something running.
Also, the you didn't position camera. This is not always necessary but I like to position and point it to give myself a sense of where things are as sometimes objects may just be placed out of camera shot.
This was not the problem.
In your function, you had:
(xMouse as integer, yMouse as integer, zMouse as integer MeBee as integer)
You missed out a coma between "zMouse as integer" and "MeBee as integer".
Also, the "as integer" bit was cause problems (that may be because I haven't up graded DBP in a while so).
Then, there wasn't a value for speed so it was effectively set to zero so nothing moved.
I've modified you code, just to get something working.
Rem Project: Bees
Rem Created: Monday, May 02, 2011
Rem ***** Main Source File *****
Type Bee
xPos as integer
yPos as integer
zPos as integer
speed as integer
id as integer
endtype
Dim BeeGroup(100) as bee
randomize timer()
For i = 1 to 100
BeeGroup(i).xpos = rnd(600)
BeeGroup(i).ypos = rnd(400)
BeeGroup(i).zpos = rnd(300)
BeeGroup(i).speed = rnd(180) + 20
BeeGroup(i).id = i
NEXT i
for i = 1 to 100
`removed 3ds mode <<<<<<<<<<<<<<<<<<<
make object cube i, 10
POSITION OBJECT i, BeeGroup(i).xpos, BeeGroup(i).ypos, BeeGroup(i).zpos
NEXT i
SYNC ON
SYNC RATE 60
`added matrix as it helps to give a sense of postion and relative motion <<<<<<<<<<<<<<<<<<<<<<
make matrix 1, 1000,1000,10,10
Do
for i = 1 to 100
movebee(mousex(), mousey(), mousez(), i)
next i
`positioned and pointed camera to the centre of the matrix <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
position camera 500,200,-500
point camera 500,200,500
sync
LOOP
`modified the function header(if that's what's called) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function MoveBee(xMouse, yMouse, zMouse, MeBee)
`given speed variable a value <<<<<<<<<<<<<<<<<<<<<<<<<<
speed = 1
if xMouse > BeeGroup(mebee).xpos then BeeGroup(mebee).xpos = BeeGroup(mebee).xpos + speed else BeeGroup(mebee).xpos = BeeGroup(mebee).xpos - speed
if yMouse > BeeGroup(mebee).ypos then BeeGroup(mebee).ypos = BeeGroup(mebee).ypos + speed else BeeGroup(mebee).ypos = BeeGroup(mebee).ypos - speed
if zMouse > BeeGroup(mebee).zpos then BeeGroup(mebee).zpos = BeeGroup(mebee).zpos + speed else BeeGroup(mebee).zpos = BeeGroup(mebee).zpos - speed
POSITION OBJECT BeeGroup(mebee).id, BeeGroup(mebee).xpos, BeeGroup(mebee).ypos, BeeGroup(mebee).zpos
ENDFUNCTION
I've not changed the basic way your program works and you may still be disapointed. I think you've got the x, y and z of the mouse and the objects a little confused but I'll leave to sort it out from here on in.
Good luck with the challenge