Jump to content

Adding Item Using Dialogue (Skyrim) Help!


TheButterAnvil

Recommended Posts

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 1

TGGuildKey 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

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

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

  • Recently Browsing   0 members

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