Containers :S

Disturbed666
So I have this container that's closed, can be opened and closed and contains 2 objects, for some unknown reason I cannot access it's contents. List children is checked and the object are children of the container. When I open the container it just says "open locker", no list. When I close it, it says it's already closed.

Edit: I played around and found that if I set it to be open by default I can access the objects inside but when I close and reopen the container I can't anymore. I'm so confused :S

jaynabonne
It would help tremendously if you could post the game you have so far (the aslx file). It could be any number of things.

Disturbed666
Im using the web version, is it still possible to get the aslx file somehow?

Edit: nvm found it I'll only post the section relevant to the container in question

<object name="Lockers">
<inherit name="editor_object" />
<inherit name="container_closed" />
<look>blah blah</look>
<takemsg>They are firmly bolted to the floor</takemsg>
<feature_container />
<listchildren />
<usedefaultprefix type="boolean">false</usedefaultprefix>
<prefix>some</prefix>
<open />
<listchildrenprefix>Inside the locker you find</listchildrenprefix>
<openmsg>The locking mechanism beeps as you open the locker</openmsg>
<closemsg>The locking mechanism beeps as you close the locker</closemsg>
<drop type="boolean">false</drop>
<hidechildren />
<isopen type="boolean">false</isopen>
<openscript type="script">
</openscript>
<onopen type="script">
</onopen>
<object name=stuff">
<inherit name="editor_object" />
<take />
<takemsg>blah blah</takemsg>
<drop type="boolean">false</drop>
<ontake type="script">
UnlockExit (a door)
UnlockExit (another door)
</ontake>
</object>

jaynabonne
Get rid of this part and try again:

      <openscript type="script">
</openscript>
<onopen type="script">
</onopen>


Basically, it's not opening, as those scripts (well one of them, at least) is overriding the default behavior.

Disturbed666
hmm, I see how that could be a problem, unfortunately I'm using the web editor and am unable to edit the code directly, I'll try deleting the "lockers" object entirely, reloading the editor and recreating it

Edit: and now I get an internal error when I recreate the "Lockers" object (must be something stuck in the code) I created a "lockers2" and I am able to open and close it normally, thanks for the help

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums