agerweb Posted October 6, 2015 Share Posted October 6, 2015 I have used a line such as this: Alias_Priest.GetReference().RemoveItem(Alias_Note.Getreference(),1,False,Game.GetPlayer())debug.notification("Note added") successfully many times in Quest Stage papyrus fragments to transfer items from an NPC to a player. However, I now want to do this in a dialogue papyrus fragment and it doesn't compile - I have tried various combinations of setting properties on the dialogue fragment but to no avail. How do you do this? Link to comment Share on other sites More sharing options...
icecreamassassin Posted October 8, 2015 Share Posted October 8, 2015 what kind of compiler error is it giving you? Link to comment Share on other sites More sharing options...
agerweb Posted October 9, 2015 Author Share Posted October 9, 2015 Using: Alias_Vahenga.GetReference().RemoveItem(Alias_Note.Getreference(),1,False,Game.GetPlayer())debug.notification("Note added") I get: starting 1 compile threads for 1 files...Compiling "All_TIF__07669A87"...C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\All_TIF__07669A87.psc(10,0): variable Alias_Vahenga is undefinedC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\All_TIF__07669A87.psc(10,14): none is not a known user-defined typeC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\All_TIF__07669A87.psc(10,40): variable Alias_Note is undefinedC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\All_TIF__07669A87.psc(10,51): none is not a known user-defined typeC:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\All_TIF__07669A87.psc(10,29): none is not a known user-defined typeNo output generated for All_TIF__07669A87, compilation failed. This line works fine in a quest stage of the same quest as both Alias exist and are filled correctly. Link to comment Share on other sites More sharing options...
Recommended Posts