Jump to content

Whats wrong with my script?


Recommended Posts

I pretty much give up on trying to figure it out myself but I'm trying to enable an object (a trap door) to appear when FreeformriftenThane quest Stage is at 20

 

 

Scriptname TGtoHoneysidescript extends ObjectReference


ObjectReference Property TGtoHoneysidetrapdoor01 Auto

Quest Property Freeformriftenthane Auto


If (Freeformriftenthane.getStageDone(20))
TGtohoneysidetrapdoor01.Enable()

endif

 

I've read that I need an "event" but I can't figure out wich event would apply to me and what difference it would make. All I want to do is for this door to appear when you purchase honeyside in the Rift.

Link to comment
Share on other sites

Ok I guess inserting it in the end of the House purchase script with an object reference worked ok. At least for now. So on the existing End Script under dialogue views for buying the Honeyside I added:

 

ObjectReference Property TGtoHoneysidetrapdoor01 Auto

and under the "Get owning" portion I added

 

tgtohoneysidetrapdoor01.enable()

Link to comment
Share on other sites

I guess the first question should be "where do I insert this script? on the end fragment of the house purchase quest? On the object itself?

At the end of the fragment. Make sure the objectreference pointing at the door is declared as a property on the fragment(use the property window, do not type it in the fragment.).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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