Frictional Games Forum (read-only)
[SCRIPT] How to remove Tinderboxes? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] How to remove Tinderboxes? (/thread-12720.html)



How to remove Tinderboxes? - SonOfLiberty796 - 01-20-2012

I used the "RemoveItem" function to try and remove tinderboxes... but it doesn't work. Is it even possible to remove tinderboxes?

Here's how I did it: RemoveItem("tinderbox");

And I kept repeating it (to remove a total of 30). Is the name suppose to be different?

Please help and thanks!


RE: How to remove Tinderboxes? - flamez3 - 01-20-2012

Try:

RemoveItem("tinderbox_1");

Make sure to spell it the exact same as in the level editor.


RE: How to remove Tinderboxes? - SonOfLiberty796 - 01-20-2012

(01-20-2012, 02:58 AM)flamez3 Wrote: Try:

RemoveItem("tinderbox_1");

Make sure to spell it the exact same as in the level editor.
I tried that just now, and it didn't work ether.

But I'll keep trying, because for some reason I believe it is like that...


RE: How to remove Tinderboxes? - Your Computer - 01-20-2012

You can't.


RE: How to remove Tinderboxes? - SonOfLiberty796 - 01-20-2012

(01-20-2012, 03:08 AM)Your Computer Wrote: You can't.
Dang. That sucks :/ oh well.


RE: How to remove Tinderboxes? - Krymtel - 01-20-2012

So nothing happens? I know this won't work, but maybe add a .ent extension so the script looks like this...

RemoveItem("tinderbox.ent");