---------------------------------------//=====================================8 - Quest Log-Related Commands//=====================================--------------------------------------- *questinfo , {, {, }}; This is esentially a combination of questprogress and showevent. Use this onlyin an OnInit label. For the Quest ID, specify the quest ID that you wantchecked if it has been started yet. For Icon, use one of the following: No Icon : QTYPE_NONE! Quest Icon : QTYPE_QUEST? Quest Icon : QTYPE_QUEST2! Job Icon : QTYPE_JOB? Job Icon : QTYPE_JOB2! Event Icon : QTYPE_EVENT? Event Icon : QTYPE_EVENT2Warg : QTYPE_WARGWarg Face : QTYPE_WARG2 (Only for packetver >= 20120410) Map Mark Color, when used, creates a mark in the user's mini map on the position of the NPC,the available color values are: 0 - No Marker1 - Yellow Marker2 - Green Marker3 - Purple Marker When a user shows up on a map, each NPC is checked for questinfo that has been set.If questinfo is present, it will check if the quest has been started, if it has not, the bubble will appear. Optionally, you can also specify a Job Class if the quest bubble should only appear for a certain class. Exampleizlude,100,100,4 script Test 844,{mes "[Test]";mes "Hello World.";close; OnInit:questinfo 1001, QTYPE_QUEST, 0, Job_Novice;end;} --------------------------------------- *setquest ; Place quest of in the users quest log, the state of which is "active". If *questinfo is set, and the same ID is specified here, the icon will be cleared when the quest is set. --------------------------------------- *completequest {,}; Change the state for the given quest to "complete" and remove from the users quest log. If a second quest id of greater value is specified, all quests between the twowill be completed. --------------------------------------- *erasequest {,}; Remove the quest of the given from the user's quest log. If a second quest id of greater value is specified, all quests between the twowill be erased. --------------------------------------- *changequest ,; Remove quest of the given from the user's quest log.Add quest of the to the the quest log, and the state is "active". --------------------------------------- *questprogress({,PLAYTIME|HUNTING}) If no additional argument supplied, return the state of the quest:0 = Quest not started (not in quest log)1 = Quest has been given2 = Quest completed If parameter 'PLAYTIME' is supplied:0 = Quest not started (not in quest log)1 = The time limit has not yet been reached2 = The time limit has been reached If parameter 'HUNTING' is supplied:0 = Quest not started (not in quest log)1 = Player hasn't killed all of the target monsters2 = Player has killed all of the target monsters --------------------------------------- *questactive() Check whether the given quest is in its active state. Returns true if the quest is active, false otherwise (quest not started,inactive or completed) --------------------------------------- *showevent {,} Show an emotion on top of a NPC, and optionally,a colored mark in the mini-map like "viewpoint".This is used to indicate that a NPC has a quest or an event to a certain player. Available Icons: Remove Icon : QTYPE_NONE! Quest Icon : QTYPE_QUEST? Quest Icon : QTYPE_QUEST2! Job Icon : QTYPE_JOB? Job Icon : QTYPE_JOB2! Event Icon : QTYPE_EVENT? Event Icon : QTYPE_EVENT2Warg : QTYPE_WARGWarg Face : QTYPE_WARG2 (Only for packetver >= 20120410) Mark Color:0 - No Mark1 - Yellow Mark2 - Green Mark3 - Purple Mark ---------------------------------------//=====================================8 - End of Quest Log-Related Commands//=====================================---------------------------------------