clerosheen Posted July 6, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 10 Reputation: 1 Joined: 02/12/12 Last Seen: December 14, 2016 Share Posted July 6, 2013 help me, i want make a script quest. quest like hunting mision. example : - Ask Npc - Npc give quest kill - poring 30 - and back npc get prize this npc give quest /character get 1 quest/day please someone help me. sry my english bad. Quote Link to comment Share on other sites More sharing options...
Patskie Posted July 6, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: November 10, 2024 Share Posted July 6, 2013 - Npc give quest kill - poring 30 OnNPCKillEvent: if ( killedrid == 1002 ) killed = killed + 1; end; Add a check if a character already killed 30 porings. If so, give the prize : if ( killed != 30 ) end; killed = 0; getitem <id>,<amount>; Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 6, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 6, 2013 Read: trunk/doc/sample/npc_test_quest.txt Quote Link to comment Share on other sites More sharing options...
clerosheen Posted July 7, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 10 Reputation: 1 Joined: 02/12/12 Last Seen: December 14, 2016 Author Share Posted July 7, 2013 thanks for help me now how about fix this : Quote Link to comment Share on other sites More sharing options...
Question
clerosheen
help me, i want make a script quest.
quest like hunting mision.
example :
- Ask Npc
- Npc give quest kill - poring 30
- and back npc get prize
this npc give quest /character get 1 quest/day
please someone help me.
sry my english bad.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.