Kitpup Posted October 23, 2010 Share Posted October 23, 2010 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: NoFuction Name:GetScripVariableFunction Info: (YourInnNpc)RentComp:==Value:1ANDI 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 More sharing options...
slygothmog Posted October 23, 2010 Share Posted October 23, 2010 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: NoFuction Name:GetScripVariableFunction Info: (YourInnNpc)RentComp:==Value:1ANDI 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 conditionGetIsID <npcname> == 1Then only the Innkeeper will say those lines in dialogue. Link to comment Share on other sites More sharing options...
Kitpup Posted October 23, 2010 Author Share Posted October 23, 2010 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 More sharing options...
slygothmog Posted October 23, 2010 Share Posted October 23, 2010 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 More sharing options...
Kitpup Posted October 23, 2010 Author Share Posted October 23, 2010 I brought up the 'select function parameters' screen and under the 'parameter 2' 'variable name' it says 'UNKNOWN' and the only option is 'NONE' Link to comment Share on other sites More sharing options...
slygothmog Posted October 23, 2010 Share Posted October 23, 2010 That's sounds like there is no script attached to your publican...is there one? Link to comment Share on other sites More sharing options...
Kitpup Posted October 23, 2010 Author Share Posted October 23, 2010 ...as it turns out, no. But the one I made and saved and can access from the '...' next to the Script selector in the NPC window I can't access from the actual selector... Link to comment Share on other sites More sharing options...
slygothmog Posted October 23, 2010 Share Posted October 23, 2010 The script must be an object script...if not then it wont appear for selection in that window....it sounds like you made a quest script. If so, just change it to object and then you should be able to select it and attach it to your publican. Link to comment Share on other sites More sharing options...
Kitpup Posted October 23, 2010 Author Share Posted October 23, 2010 Ah! Okay, thank you so much for the help sorting out the problem. Kudos :D Link to comment Share on other sites More sharing options...
Recommended Posts