Jump to content

Can't enable/disable object


NeasOlc

Recommended Posts

Hi, to some extent the title says everything.

 

I have placed at object in the CK, set to "initially disabled". However when I try to create a script with the syntax "SpouseStall1.enable" (which is the RefID I gave it in the editor) nothing happens. When I try to use the console from within the game, it says that SpouseStall1 is not a valid object reference. I am 100% sure that that is the ID I gave it, so I simply do not understand why it's telling me that I why the enable isn't working. Help would be appreciated.

Link to comment
Share on other sites

OK, what I've got so far is this (a script attached to the "move to house" dialog option):

 

Scriptname AAAStallAdd   

Alias_AAAStallWhiterun.GetReference().enable()

ObjectReference Property NewProperty  Auto  

 

It still gives me an error and fails to compile ("no viable alternative at input '.' " What's up with that?

Edited by NeasOlc
Link to comment
Share on other sites

  • Recently Browsing   0 members

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