Jump to content
Angelix

New Quests

Recommended Posts

Is there a way to make new kind of quests? Like making a player get X amount of player kills (PK), kills monsters in X map, use X item, enter X map or something as such?

Share this post


Link to post
Share on other sites

kinda sounds like an achievement system proposed by Matt but I think Youve known of it. Maybe this is with the quest ui? PKP has been done. but killing monsters in map, I can only imagine that at PKM, we do map and monster checks, set a flag, and use that flag as condition 


kong.png

a2.png

Share this post


Link to post
Share on other sites

Another option, create an item with same propose.
Fill the URE with each kill, and on your quest, just check that item has URE >= ?
handle the player kill at functions.lua:after_player_kill_player


Discord: andresc

Share this post


Link to post
Share on other sites

I found these within MissionSdk.lua:

TE_MAPINIT		= 0
TE_NPC			= 1
TE_KILL			= 2
TE_GAMETIME		= 3
TE_CHAT			= 4
TE_GETITEM		= 5
TE_EQUIPITEM	= 6
TE_GOTO_MAP		= 7
TE_LEVELUP		= 8

Anyone know how to use them? So far quests only use 2 and 5, I think voyager's second class may use 2, other than that I haven't seen the rest. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...