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 / object in real time

Author
Message
gamedude
18
Years of Service
User Offline
Joined: 18th May 2006
Location:
Posted: 28th May 2006 17:20
hello! I have a question i searched but i couldnt find what i was looking for. I need some help on creating an object in real time kind of like a editor but for a different purpose so if you could help me out if you have any spare time that would be great!


-thanks

on Earth im a human
on the moon im a.... forget it
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 28th May 2006 17:51
Theres no difference between making the object in realtime and making the object before the program loop executes, the only thing you need to watch out for is using the same object number, as this will return a runtime error.

So, this wouldnt work;



Because it would make object 1, then loop back and try to make object 1 again. To solve this, you could set the object number to be made into a variable, and then increase the variable. Like this;



Which would then create an object every loop. Ofcourse youll want to edit this to suit your needs as if you create an object every loop youll start experiencing some hefty lag.

Not much else to say, ask if you've any questions still.
- RUC'

Jerok
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Mars. Wait a sec I\'m on MARS. OMG
Posted: 28th May 2006 17:53 Edited at: 28th May 2006 17:54
not sure if this is what you are looking for but here it is anyway

Twu Kai
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location:
Posted: 28th May 2006 18:03 Edited at: 28th May 2006 18:04
Is it in DBPro or DBC? This is in DBPro:



I hope that's useful!

EDIT: Oops, I started posting before you guys, but posted AFTER you. Sorry!

We were all new people once.

Login to post a reply

Server time is: 2024-11-27 18:34:09
Your offset time is: 2024-11-27 18:34:09