Ok i have made a quest but it didnt work i cant give u the code because I deleted iti have a story i just dont know how to code it, this is the quest:
1) GO and see Kelmen he will tell you to kill 5 people and collect their souls then he will reward you by making you a deamon.
2)Kill 10 more people to recive the energy ball skill
3) He thanks you and he will sell u a pass to a place but you must pay him with soules
ID:166088
![]() Sep 26 2006, 4:26 am
|
|
I will not make it for you, and I forgot to add some stuff in it as well >_>.
What you have to do is make a (few) variable(s) keeping track of what you want, in this case, the quest step the person is on and the soul count. The quest step example is found in my last post, basically you just change the value for each step they complete. For your soul part, it can go ATLEAST two ways, chose/make whatever you need: 1) The 'soul' is counted when you kill a person. You can do this by adding a soul count in the death proc, eg: mob/proc/death(mob/Killer)//Short sweet example, not much safety checks used though you should. 2) You can make the souls a "collectable item"... basically in the death proc, drop the soul item and ...well, I think it would be easier for you to do #1 >_> if this one isn't obvious as that one <_< Now for the person checking, here's an example: mob/NPC/SomeGuy For the second method (soul item), you would have to see how many items there is... and it depends on how you set the item.. such as the counter is stored in an amount variable (stackable item) or loop through and see how many souls you have in the inventories... it all depends on how this is made, if you did this method, that is. Don't get something? Ask specifically what you do not get about it - GhostAnime - Don't forget to read the comments too - I think I forgot something... |
I never really thought death was the nice kinda person...(grin)
mob |
List variable method (For non-list, simply make individual variables...)
- GhostAnime - Got confusious?