AngryBananaStudios Posted June 15, 2016 Share Posted June 15, 2016 I'm trying to make a custom follower but when I use the code "OpenInventory" and "GetOwningQuest().reset" the windows bellow open. Can anyone help me? Link to comment Share on other sites More sharing options...
FrankFamily Posted June 15, 2016 Share Posted June 15, 2016 Post the full script Link to comment Share on other sites More sharing options...
KunoMochi Posted June 15, 2016 Share Posted June 15, 2016 http://www.creationkit.com/index.php?title=OpenInventory_-_ActorAre you calling OpenInventory() from an Actor reference? Example: Actor someNPC ; assign someNPC to an Actor someNPC.OpenInventory() http://www.creationkit.com/index.php?title=Reset_-_Quest"GetOwningQuest().reset" is missing the parentheses at the end so it should be: GetOwningQuest().reset() Link to comment Share on other sites More sharing options...
Fantafaust Posted June 15, 2016 Share Posted June 15, 2016 Yeah, both of those need parenthesis. With the inventory code, I tend to use MyFollower.Openinventory(True)so I don't have to deal with the possibility of it not opening Link to comment Share on other sites More sharing options...
AngryBananaStudios Posted June 16, 2016 Author Share Posted June 16, 2016 (edited) For whatever reason the 0_AlikAarmon.OpenInventory() isn't working, nor is 0_AlikAarmon().OpenInventory nor 0_AlikAarmon.OpenInventory(True) nor 0_AlikAarmon().OpenInventory(True) Snyone have any ideas? Edited June 16, 2016 by AngryBananaStudios Link to comment Share on other sites More sharing options...
IsharaMeradin Posted June 16, 2016 Share Posted June 16, 2016 Please post the full script. There could be other syntax issues which are fooling the compiler into failing on the wrong portion instead of where the real problem may lie. Link to comment Share on other sites More sharing options...
Fantafaust Posted June 16, 2016 Share Posted June 16, 2016 Is the "0_" part necessary for your reference? You might want to redefine it in the properties because the compiler seems to be confused by it.Make it just AlikAarmon if possible.Also, please post full script in case there are other issues we could point out. Link to comment Share on other sites More sharing options...
AngryBananaStudios Posted June 16, 2016 Author Share Posted June 16, 2016 I tried removing the 0_ and while it did something, it still hasn't worked. I really appreciate this help btw. I also tried using this code in other windows but it still had the exact same problem. I also tried adding things like more parenthesis and (True) Link to comment Share on other sites More sharing options...
Fantafaust Posted June 16, 2016 Share Posted June 16, 2016 (edited) EDIT: scratch what I said before, try this: akspeaker.OpenInventory(True) Edited June 16, 2016 by Fantafaust Link to comment Share on other sites More sharing options...
AngryBananaStudios Posted June 16, 2016 Author Share Posted June 16, 2016 Fantafaust I could kiss you. (meaning it worked) Thank you so much to everyone who offered help. Link to comment Share on other sites More sharing options...
Recommended Posts