Object - delete from room after use - not just become invisible

Started by barefoot, Fri 27/11/2009 13:44:39

Previous topic - Next topic

barefoot

Hi there

I was wondering if there was a way to delete an object from a room after use..

I have 2 objects.. The first object is gunpowder. When an inv item interacts with it I make that object invisible and the gunpowder with a fuse object switches on to become visible over it..

When i use another inv (Flint) on it the gunpowder with fuse object displays the wrong text and not the gunpowder with fuse text but the underneath (gunpowder) text.

So, Im wondering if you can have an object deleted from the room after use.

Qikfire





I May Not Be Perfect but I Have A Big Heart ..

Matti

Why don't you use one single object instead of making one disappear and another appear? Then you could insert an if-clause to check the object's view and show the text accordingly.

Other than that, Object.MergeIntoBackground() will disable an object permanently.

Gilbert

Better yet, just move the object to an off-screen location.

SMF spam blocked by CleanTalk