Full Version : Set key value on npcquest
xmlspawner >>XMLSpawner - How do I? >>Set key value on npcquest


<< Prev | Next >>

jraicr- 02-08-2010
Hi, im doing a little thing with a npc that give you a key when you pay it. Ok, i dont know how i can set [b]value key[b] from this "give item".

Maybe with a gump 0, "done" and SETONCARRIED.... but i wanna know the way for do that from "give"

You can check this screenshot

Im a little confused, i'm sorry i know my english is bad. unsure.gif

Thanks, Rai.

jraicr- 02-09-2010
I got it smile.gif

I changed to this action:

CODE
TAKEBYTYPE,1,10/gold; GIVE/<key/name/Llaves/description/"Llaves de la posada"/keyvalue/12>

jraicr- 02-09-2010
Ok, i got a little system that if you buy key of room, the npc set stackable door to true. When u give back the key it will change to false.

How can i do the condition: if stackable door true, text: no room available!


This easy system works, i think, with one door...but, what is the way for do that with a lot of doors/rooms?

Thanks, rai.