- Joined
- Aug 11, 2009
- Messages
- 605
Not so long ago I posted some quest triggers I used for Quests and after I made the changes they started bugging alot. How they work is that a unit buys a dummy unit to accept a quest and to turn it in once completed.
Changes made was:
- I set the player number into a variable. (Integer_PlayerNumQuests)
- I set the buying unit into a variable. (Unit_Quests)
I have uploaded 2 pictures. The first shows the trigger which is used to start/turn in a quest. The second to count the progress of the quest.
Known issues:
- When quest was completed (all 10 Makruras was killed) the quest didnt get marked gray and completed but the text showed that the quest was completed.
- When I turned in the quest I got the XP and Gold rewards but the Quest was not destroyed.
- When I picked the Quest up again I only had to kill 1 Makrura to get it to be completed.
- When I had both this Quest and a second Quest I just had to kill one creep to get both quests completed.
(Second Quest has the same triggers but using the variable "Quest_002" instead of "Quest_001".)
If anyone has a good idea why it does not work, please let me know. I need a basic layout of the Quest triggers so I can just copy/paste with new variables for the rest of the Quests.
+Rep and credits in map ofcourse for help on fixing this.
Changes made was:
- I set the player number into a variable. (Integer_PlayerNumQuests)
- I set the buying unit into a variable. (Unit_Quests)
I have uploaded 2 pictures. The first shows the trigger which is used to start/turn in a quest. The second to count the progress of the quest.
Known issues:
- When quest was completed (all 10 Makruras was killed) the quest didnt get marked gray and completed but the text showed that the quest was completed.
- When I turned in the quest I got the XP and Gold rewards but the Quest was not destroyed.
- When I picked the Quest up again I only had to kill 1 Makrura to get it to be completed.
- When I had both this Quest and a second Quest I just had to kill one creep to get both quests completed.
(Second Quest has the same triggers but using the variable "Quest_002" instead of "Quest_001".)
If anyone has a good idea why it does not work, please let me know. I need a basic layout of the Quest triggers so I can just copy/paste with new variables for the rest of the Quests.
+Rep and credits in map ofcourse for help on fixing this.