Quote:
Originally Posted by DiobloSlayeR
Eh.. lol, don't defend because it's nooneatall's post.. It didn't even explain how to add 2things so the Npc sells it :/ If you know, post it, don't just say you fail and increase your post count >.>
|
well I know nooneatall and he wouldnt write a useless guide, you shouldnt even need a guide to know how to do that
Type - Data - Param
101 - 0 - Hi~I~am~a~NPC~that~sells~stuff!
102 - 0 - I~want~item~[Cost-200ep]. xxxxx
102 - 0 - I~want~1milgold~for~1kep! xxxxxx
102 - 0 - I~dont~want~anything. 0
1001 - 0 - e_money > 199
501 - itemid -
126 - 0 - Congrats~you~just~bought~an~item!
1001 - 0 - e_money > 999
1001 - 0 - gold += 1000000
126 - 0 - Congrats~you~just~bought~1mil~gold!
'I~want~item~[Cost-200ep]. xxxxx' this is an npc choice, xxxxx is what cq_action id you want to use, make sure to also add this to the cq_task
Code:
1001 - 0 - e_money > 199
501 - itemid -
126 - 0 - Congrats~you~just~bought~an~item!
this is for the first choice it first checks to see if they have 200ep or more
then you replace itemid with the item you wish to sell
the last part is just a message box that pops up