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.

Dark GDK / Checking Object Existence?

Author
Message
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 3rd Oct 2008 09:18
Is there any function for checking whether an object id exists.

I've looked at all the help files but I haven't come up with anything.
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 3rd Oct 2008 09:27
Look harder, the information.chm help file under the Basic 3D section has the exact function you need!

ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 3rd Oct 2008 10:32
Quote: "Look harder, the information.chm help file under the Basic 3D section has the exact function you need!"


-_-

Thanks
kBessa
17
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 3rd Oct 2008 18:44
Quote: "
OBJECT EXPRESSIONS
dbObjectExist : int dbObjectExist ( int iObject )
dbObjectVisible : int dbObjectVisible ( int iObject )
dbObjectPlaying : int dbObjectPlaying ( int iObject )
dbObjectLooping : int dbObjectLooping ( int iObject )
"


Quote: "dbObjectExist
This command will return a one if the specified 3D object exists, otherwise zero will be returned.

Syntax
int dbObjectExist ( int iObject ) "



Come on, you haven't even opened the help files, have you?

[center][center]
Mike J
Retired Moderator
18
Years of Service
User Offline
Joined: 7th Jul 2006
Location: Binghamton, NY, USA
Posted: 3rd Oct 2008 23:16
ReiKumar, you should try to be more considerate. Please try to solve some of these issues on your own first, by looking at the help files or searching the forums.

And, when you reply to posts from other users, please don't be so rude. I've read some of your posts in other threads and I can't say I am impressed with your attitude. Folks here will help you with legitimate issues, but only if you do not waste their time, and especially if you don't treat them like dirt.

-Mike J

"The early bird may get the worm, but the second mouse gets the cheese."

Login to post a reply

Server time is: 2024-09-30 07:17:54
Your offset time is: 2024-09-30 07:17:54