Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Small DIM Command Problems

Author
Message
Matto
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location:
Posted: 10th Feb 2003 03:18
I am trying to save time when having lots of charactors in a game and wanted to do a for next loop to check a range of object numbers for existance and then pass the x,y,z positions into an array and also add in there at the same time the x,y,z angle values for the objects too..

this is what I have done so far:-



The Program seems to be ok until I add the values to the array, I am sure it is something reasonably simple at fault (most likely me..) but here are the main points I am having probs with or feel there is a problem that I don't know how to get around.

1) Trying to add the "o" number from the for/next loop into the array name string, which should then pass the correct array name with the adjusted object number as the array name which is passed on as CharNo$

2) The fact I am holding the array name in a string variable and then using it to pass the position and angle variables into for each object is causeing a problem, being that the array is infact a string array and not a real number one..

anyway I am most certainly stuck trying to sort this out, I am sure there must be a way, but any idea's how?

thanks for any help.
1ghz Cel,512 sdram 133,Gf2 MX 400 64,SBL 5.1,Win98
Best Upcoming MMOG - http://WWW.Atriarch.com
Project: Card Game with No Name
Matto
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location:
Posted: 10th Feb 2003 04:09
Doh!! what an idiot.. me I mean.. Ok I got the answer after a little thought and slapping the stupid out of myself, I finally found this answer..

#

sorry for the trouble..

1ghz Cel,512 sdram 133,Gf2 MX 400 64,SBL 5.1,Win98
Best Upcoming MMOG - http://WWW.Atriarch.com
Project: Card Game with No Name

Login to post a reply

Server time is: 2024-11-24 01:19:18
Your offset time is: 2024-11-24 01:19:18