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.

Author
Message
Alkaline
20
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Seattle, Washington
Posted: 28th Jan 2004 01:02
Is there a command to delet all objects?

~Adikt Studios~
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Jan 2004 01:10
no

for x=1 to ObjNumMax
if objectexist(x) > 0
delete object x
endif
next x

something along those lines will help ya

-RUST-
"What the... Mooooooooooo!"
Alkaline
20
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Seattle, Washington
Posted: 28th Jan 2004 01:30
nope it dosnt work... i put it in my code like you posted above and it dosnt work

~Adikt Studios~
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2004 02:03
Well obviosuly you need to set the variable ObjNumMax to the highest object number in your program. e.g.

ObjNumMax = 1000

also add a space between objectexist to get correct command.

Boo!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Jan 2004 03:18 Edited at: 28th Jan 2004 03:19
thanks spookster

@Adikt
if you see someone say
Quote: "something along those lines will help ya"

it's a good indication that the code is not usable as is, but will contain the pertinent info you need.

good luck

-RUST-
"What the... Mooooooooooo!"
Lord Helmet
21
Years of Service
User Offline
Joined: 30th May 2003
Location:
Posted: 28th Jan 2004 06:34
ok, if (boolean function) = 1 is kinda silly isn't it?
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Jan 2004 07:19



-RUST-
"What the... Mooooooooooo!"

Login to post a reply

Server time is: 2024-09-21 18:55:42
Your offset time is: 2024-09-21 18:55:42