Game Development Community

Mount

by Harrison Brock · in Torque Game Builder · 08/29/2006 (2:16 pm) · 3 replies

I know how to mount thinks like this:

bball.mount(b2,0,0,0,true,false,false);

how can u mount using the index of in array? something like this:

bball.mount($testGrid[%i][%j],0,0,0,true,false,false);

Harrison Brock

#1
08/29/2006 (4:03 pm)
Harrison,

If I understand correctly, you are storing all your objects in a multi-dimensional array ($testGrid[%x]%y]) and wish to mount your ball to one of the objects in the array?

It would appear that the code you've provided would do the trick -- I see no reason why it wouldn't, anyhow.

Is it not working for you, or did you ask before trying? (just curious)
#2
08/29/2006 (7:14 pm)
It did not work.
#3
08/30/2006 (4:19 am)
Hey Harrison.... remember me... from Abstract Cosmos

what's up :D

are trying out TGB? I'm trying it out myself.

but I say you try out the tutorials

Click Here For All Tutorials

Or Click Here For the Mini Tutorials