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 / Count how many objects I have

Author
Message
Phantom 2590
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Earth...
Posted: 9th Dec 2008 00:33
Can any one tell me what the code is that counts how many objects i have in my game and sets that value to a variable.
i know there's a code for this i just can't remember right now what it is. something like object exists idk
thx in advanced

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 9th Dec 2008 00:38
Yes, you can loop through all of your object counting them:


Or you can install my plug-ins and use the function I have:


Phantom 2590
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Earth...
Posted: 9th Dec 2008 00:40 Edited at: 9th Dec 2008 00:40
hmm i was thinking of doing it with a loop, for soem reason i thought that i had seen somewhere where there was actually just a line of code you could use sort of like the function from ur plugin

thank you for the swift reply

jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 14th Dec 2008 10:28
Phantom 2590
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Earth...
Posted: 14th Dec 2008 16:16
If you mean the photobucket thing than that's from my signature and it's been doing that even though i don't even have an image linked. Go figure

I was therefore I can be.

Login to post a reply

Server time is: 2024-11-25 14:57:52
Your offset time is: 2024-11-25 14:57:52