Jump to content

How to disable object interactions? (Desks, Safes, Ovens, etc.)


ASJerrell

Recommended Posts

Beginner GECK question:

 

How do you disable an object, as in make it un-interact-able? I want to use a metal desk just as a counter top amongst many other things, so I must make the "Open Desk" option go away. Perhaps I want to make an object static, as they look the part but do not have functions. Thank you so much for your help. :smile:

Edited by ASJerrell
Link to comment
Share on other sites

Every activator has a base model, use this model and create a new static if one doesn't already exist. I do believe there is an existing metal desk static already though, I remember using it before.

Simpler way is to call 'setdestroyed' on the activator in its onLoad block.
Link to comment
Share on other sites

Thank you all SO much for your help. This forum is incredible with you all. If it doesn't anger anyone, I found a script already in the game called DestroyOnLoad. *facepalm* This is the 5th or so edit of this post I've done. I did a lot of personal troubleshooting, trying to answer my questions as I posted them (I'm a good guy, eh? :P)

It doesn't work until you reload the cell you are currently in ("did you try turning it off and back on again?" lol...)

So after that, it works fine. I edited the base file of my renamed duplicate, chose the script DestroyOnLoad, and here it is, with the added failsafe of OnActivate:



ScriptName DestroyOnLoad
; for faking statics. probably a rare thing.

BEGIN OnLoad
SetDestroyed 1
END

BEGIN OnActivate
SetDestroyed 1
END

Thanks again, everybody! Case closed!

Edited by ASJerrell
Link to comment
Share on other sites

  • Recently Browsing   0 members

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