Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Discussion » Level Scripting » !!Chest making Fable Crash!!
Re: !!Chest making Fable Crash!! [message #42086 is a reply to message #42083] Sat, 07 June 2008 10:06 Go to previous messageGo to previous message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
jamics wrote on Sat, 07 June 2008 11:31

Ok, this is just another noob's cry for help!
jamics wrote on Sat, 07 June 2008 11:31

This is my chest code plz help!
Hmm, another one. Troubleshooting a crash can be hard, but when it's because of a tng it's ridiculously easy to figure out. This is no exception.
ContainerContents[1]
That's it right there. You start off the count at 1, it needs to start at 0. Move the last item to the top and change the number to 0. Problem solved.
For future reference

There. Take notice that each number goes up by one, it must stay in that order, 0, 1, 2, 3, 4, n. If it is out of order, Fable dies. Notice that each object name is in quotes, if it's not, Fable dies. Notice each line ends with a semicolon ( ; ), if you're missing one, Fable dies. If an object is called but doesn't exist, for example, OBJECT_TOF, it is skipped. If it's the only object in the chest, or if all the objects are non-existent, you will freeze and be unable to move, stuck staring at the inside of a glowing chest. Fable doesn't die from this, but you have to kill it to get out, so Fable dies.
 
Read Message icon4.gif
Read Message
Read Message
Previous Topic: Need help, please :>
Next Topic: tried to spawn chest but crash
Goto Forum:
  


Current Time: Wed Apr 29 23:10:28 PDT 2026

Total time taken to generate the page: 0.31745 seconds