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.

DarkBASIC Discussion / Deleting static objects . . .

Author
Message
Yodaman Jer
User Banned
Posted: 16th Jan 2008 16:56 Edited at: 16th Jan 2008 17:12
Hey all, this has been really bugging me.

When I try to delete an object that's been made static to, say, open a secret passageway, I can clearly see the opening, but can't get through because the collision box is still there!!
I tried not making the object static, but that resulted in a little texturing glitch for some reason.
Is there anyway to delete an object that has code like this?



Here's how I try to delete the object:



Object 4 is the thing you have to do to open the passage, like say a sledgehammer is 3, the certain object is 4 and the wall is 2. See?
But like I said, there's still the invisible collision box. VERRY annoying!!
Can someone please help me out?

Yodaman Jer



Thanks to BigAdd for the incredibly awesome sig!
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 16th Jan 2008 18:20
you want to delete a collision box, so:

delete object collision box object number

seem like a good guess

Yodaman Jer
User Banned
Posted: 17th Jan 2008 04:39
Is that an actual command or is that just a guess?
I don't thin k it would work because you don;t specify an object # for collision boxes. Like so:



I guessI'll try it, but I don't think it will work . . .



Thanks to BigAdd for the incredibly awesome sig!
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 17th Jan 2008 15:52 Edited at: 17th Jan 2008 15:55
delete object collision box is a valid command. the help files say it is used to make the object use normal collision. I should have thought this awnser trough a bit more becouse, your collisionbox is made seperatly from the object. and there isn't a command that deletes these static collision boxxes.

what you could do is just make a normal collision box on the wall.
and just use object collision (3,2)

Yodaman Jer
User Banned
Posted: 17th Jan 2008 16:09
alright, I'll give it a shot. Thanks!
Sorry if I sounded rude in my last post.



Thanks to BigAdd for the incredibly awesome sig!

Login to post a reply

Server time is: 2025-06-05 19:06:16
Your offset time is: 2025-06-05 19:06:16