- Joined
- Apr 10, 2010
- Messages
- 2,789
Hey everyone,
Im working on an RPG map and I tried making some quests. I actually suck at making them. So please help me. It goes like this: Theres a unit called Troubled Worker. He sells two items, talk and accept/complete quest. When you buy the two items, you wont see it in your inventory. Here are the problems:
-When I buy talk, nothing pops out, or when I do accept/complete quest, no quest appears at the quest menu or any text.
-The Workers Tools are not created, but the Murlocs are.
Heres the quest acceptance/creation trigger:
NOTE: The talk problem is fixed but the quest is not.
Im working on an RPG map and I tried making some quests. I actually suck at making them. So please help me. It goes like this: Theres a unit called Troubled Worker. He sells two items, talk and accept/complete quest. When you buy the two items, you wont see it in your inventory. Here are the problems:
-When I buy talk, nothing pops out, or when I do accept/complete quest, no quest appears at the quest menu or any text.
-The Workers Tools are not created, but the Murlocs are.
Heres the quest acceptance/creation trigger:
-
Quest Accept
-
Events
-
Unit - A unit Sells an item(from shop)
-
-
Conditions
-
(Selling unit) Equal to Troubled Worker 0008 <gen>
-
Boolean_QuestOn[1] Equal to False
-
-
Actions
-
If (All Conditions are true) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item type of (Sold item)) Equal to Accept/Complete Quest Workers Tools
-
-
Then - Actions
-
Set Boolean_QuestOn[1] Equal to True
-
Quest - Create an Optional, undiscovered quest titled Working Tools with the description I lost my tools for... using icon path ReplaceableTextures\CommandButtons\BTNGatherGold.blp
-
Set Quests_Array[1] = (Last created quest)
-
Quest - Enable Quests_Array[1]
-
Quest - Mark Quests_Array[1] as Discovered
-
Quest - Display to (Player Group((Owner of (Buying unit)))) the Quest Discovered message: Check your quests menu!
-
Item - Create Workers Tools at (Center of Workers Tools <gen>)
-
Set Item[1] = (Last created item)
-
Quest - Display to (Player Group((Owner of (Buying unit)))) the Quest Update message: Find the Workers Tools!
-
Unit - Create 5 Murloc at (Random Point in Murloc 1 <gen>) Default facing degrees
-
-
Else - Actions
-
-
If (All Conditions are true) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item type of (Sold Item)) Equal to Talk
-
-
Then - Actions
-
Game - Display to (Player Group((Owner of (Buying unit)))) for 10.00 seconds the text: Hey, can you do me a favor?
-
-
Else - Actions
-
-
Quest Update
-
Events
-
Unit - A unit Acquires an item
-
-
Condition
-
(Item being manipulated) Equal to Item[1]
-
-
Actions
-
If (All Conditions are true) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boolean_QuestOn[1] Equal to True
-
-
Then - Actions
-
Game - Display to (Player Group((Owner of (Buying unit)))) for 10.00 seconds the text: Hey, can you do me a favor?
-
Quest - Display to (Player Group((Owner of (Hero manipulating item)))) the Quest Update message: Tools received! Return to the Worker!
-
-
Else - Actions
-
-
Quest Completion
-
Events
-
Unit - A unit Sells an item(from shop)
-
-
Conditions
-
(Selling Unit) Equal to Troubled Worker 0008 <gen>
-
-
Actions
-
If (All Conditions are true) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boolean_QuestOn[1] Equal to True
-
Item[1] Equal to (Item carried by Buying unit)) of type Workers Tools)
-
(Item type of (Sold item)) Equal to Accept/Complete Quest
-
-
Then - Actions
-
Item - Remove Item[1]
-
Quest - Display to (Player Group((Owner of (Hero manipulating item)))) the Quest Completed Message message: Quest Finished! Reward 200 Gold and 200 XP!
-
Player - Add 200 to (Owner of (Hero manipulating item)) Current Gold
-
Hero - Add 200 experience to (Hero manipulating item), Show level-up graphics
-
Special Effect - Destroy SP_Effect[1]
-
-
Else - Actions
-
-
If (All Conditions are true) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boolean_QuestOn[1] Equal to True
-
Item[1] Equal to (Item carried by Buying unit)) of type Workers Tools)
-
(Item type of (Sold item)) Equal to Accept/Complete Quest
-
-
Then - Actions
-
Game -Display to (Player Group((Owner of(Buying Unit)))) for 10.00 seconds the text: Hello! How are you doing?
-
-
Else - Actions
-
NOTE: The talk problem is fixed but the quest is not.
Last edited: