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 / static object problems.... i think

Author
Message
Dr Manette
20
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 18th May 2006 23:41
In my game, I make objects static and give them static collision boxes. However, some of these walls are doors that I want delete once a button is pressed. This all worked fin until I made the door static. I used delete object before when it was just an object. Why doesn't that work now???

Bio Fox...four guys, one computer, games like nobody's business.
SimSmall
21
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 20th May 2006 00:24
as soon as you want to delete your door, add to the line before delete object:
detach object from static


That's a theory anyway...

Login to post a reply

Server time is: 2026-07-07 06:02:38
Your offset time is: 2026-07-07 06:02:38