Jump to content

Rent Issues


Kitpup

Recommended Posts

So I went ahead and dipped my hand into modding. My plan was to fix up the Halfway Inn from Roads+Bridges and make it compatible (landscaping-wise) with the ShadowcrestVineyard. Outdoor stuff is working fine, so I turned indoors and started cleaning it up. I set up an innkeeper and tried to make him functional. The problem is that when I went to set up his dialogue I ran into... problems. I was following the wiki http://cs.elderscrolls.com/constwiki/index.php/Rent_A_Room_Tutorial and the scripting went fine, everything is linked up properly. However

Target: No

Fuction Name:GetScripVariable

Function Info: (YourInnNpc)Rent

Comp:==

Value:1

AND

I cannot figure out what that function is, and when I attempted to set it up it appears to have changed EVERYone's dialogue.

Link to comment
Share on other sites

So I went ahead and dipped my hand into modding. My plan was to fix up the Halfway Inn from Roads+Bridges and make it compatible (landscaping-wise) with the ShadowcrestVineyard. Outdoor stuff is working fine, so I turned indoors and started cleaning it up. I set up an innkeeper and tried to make him functional. The problem is that when I went to set up his dialogue I ran into... problems. I was following the wiki http://cs.elderscrolls.com/constwiki/index.php/Rent_A_Room_Tutorial and the scripting went fine, everything is linked up properly. However

Target: No

Fuction Name:GetScripVariable

Function Info: (YourInnNpc)Rent

Comp:==

Value:1

AND

I cannot figure out what that function is, and when I attempted to set it up it appears to have changed EVERYone's dialogue.

 

That is telling the game that if the variable Rent from a quest script in the game has a value of 1 then this dialogue should be triggered.

To limit this dialogue just to the innkeeper, you will need to set the condition

GetIsID <npcname> == 1

Then only the Innkeeper will say those lines in dialogue.

Link to comment
Share on other sites

The problem I'm running into is that when I set the function parameters to 'GetScriptVariable' (script, not scrip as it says in the wiki) I don't get anything resembling the choice listed, instead it's asking for references of the cell and specific ref object/person.
Link to comment
Share on other sites

That's correct for it to do that, the box that opens asking you to choose a Ref in the render window, is simply to make things easier for you...and all publicans have a script attached to them that controls the renting of beds....you may be getting confused. Can you take a screenshot of the condition you have set in the dialogue conditions box for me?....it will be easier to identify the problem if you can. Here is the publican of the newlands lodge, and a section of the script attached to her that controls the variables for triggering dialogue options and timing the renting of beds.

 

http://i864.photobucket.com/albums/ab205/slygothmog/tamriel%20shots/bedrent.png

 

http://i864.photobucket.com/albums/ab205/slygothmog/tamriel%20shots/rentscript.png

Link to comment
Share on other sites

  • Recently Browsing   0 members

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