TheButterAnvil Posted May 29, 2015 Share Posted May 29, 2015 I have started using the Creation kit recently.I have used the geck and have minor skills with it. Anyway, the problem i have is I want to add an item using dialogue. In the GECK, I would type Player.AddItem TGGuildKey 1TGGuildKey is a custom item I also tried GetPlayer().AddItem TGGuildkey(1)If anyone could help, I will be very grateful.Thank You Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 29, 2015 Share Posted May 29, 2015 Correct syntax:Game.GetPlayer().AddItem(TGGuildKey,1) Before that will work or compile the TGGuildKey item needs to have a property that points to the actual object. Otherwise, the script engine will not know what to give the player. I have not worked with dialog and its script fragments so I'm not certain of the exact procedure to add a property. Link to comment Share on other sites More sharing options...
TheButterAnvil Posted May 29, 2015 Author Share Posted May 29, 2015 Wait, so I can't use Item ID?What about an Alias?Thanks for the help BTW Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 29, 2015 Share Posted May 29, 2015 You cannot use an item ID within Papyrus scripting. You could use an alias, but again the script would need to know what object you are talking about (in this case the alias and quest that said alias is on). There is a link in my signature for a thread where you can ask questions and usually get quick answers. May want to post something there to see if you can get further assistance. Link to comment Share on other sites More sharing options...
TheButterAnvil Posted June 3, 2015 Author Share Posted June 3, 2015 Bump Link to comment Share on other sites More sharing options...
Recommended Posts