Jump to content

Doors


chazzee23

Recommended Posts

Double-Click the door, or pretty much any object you want to delete, and make sure the box "Persistent Reference" is checked and make sure you give it a "Reference Editor ID" name at the top. I usually put REF at the end of the name so I can keep Reference Names clear from Base Object Names.

Then go to the Terminal and in the "Item Result Script" for whatever Menu Index you want to use put the following.

ReferenceEditorID.disable
ReferenceEditorID.markfordelete

ReferenceEditorID would be the Reference name you gave the Door.

Link to comment
Share on other sites

Thank you will check that out soon, will let you know how it goes.

 

SO that did not work for me im trying to disable the doors to the super duper mart and replace them with my new doors, this is what I have got in a result script on a terminal..

removeitem caps001 8000

ForceTerminalBack

CharliesSDMartDoorDisable1REF.Disable

CharliesSDMartDoorDisable1REF.MarkForDelete

SuperDuperMartDoorExteriortor01REF.Disable

SuperDuperMartDoorExteriortor01REF.MarkForDelete

CharliesSDMartDoorEnable1REF.Enable

CharliesSDmMartDoorEnable2REF.Enable

player.MoveTo CharliesMoveToRestockREF

but the doors remain the same.

Edited by chazzee23
Link to comment
Share on other sites

Did you try moving the ForceTerminalBack to the bottom of the script?

removeitem caps001 8000
CharliesSDMartDoorDisable1REF.Disable
CharliesSDMartDoorDisable1REF.MarkForDelete
SuperDuperMartDoorExteriortor01REF.Disable 
SuperDuperMartDoorExteriortor01REF.MarkForDelete
CharliesSDMartDoorEnable1REF.Enable 
CharliesSDmMartDoorEnable2REF.Enable 
player.MoveTo CharliesMoveToRestockREF
ForceTerminalBack

 

Also, you should use [ code ] blocks for code to format it correctly for easier viewing. Remove the spaces between the word and brackets.

Link to comment
Share on other sites

Right off the bat I think I see you have the wrong name for the exterior Door that is already named. The name for that door is "SuperDuperMartDoorExteriorto01REF". You put an extra "r" in the name. That would cause the script to fail. Always click "Compile Result" so you can test your script.

Of course if you did rename that door then it would work, but I would never rename the REF name for anything FO3 has already named.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...