Key from NPC

This forum is for discussing anything related to The Quest editor.

Key from NPC

Postby Prickett » Mon Apr 12, 2021 5:35 am

I want an NPC to give the PC a key. However, whenever I try to make it give me a key with the world ID “fork” (which is the ID for my world), nothing happens. Then I use the exact same string except for the different key name:

player.receiveitem(“base_key_03”,1);

And I get the key. Any idea why it’s not working for a key I created?
Prickett
 
Posts: 589
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA

Re: Key from NPC

Postby Elendil / Redshift » Mon Apr 12, 2021 7:25 am

I'd double check the id. Make sure there really exist an item with the that id.

(If nothing else works, try and drop an item with that id on the ground in the editor, somewhere inaccessible.)
User avatar
Elendil / Redshift
Site Admin
 
Posts: 848
Joined: Sun Oct 09, 2011 11:35 am


Return to Editor

Who is online

Users browsing this forum: No registered users and 1 guest