Ok so Below I put a category from a quest I am working on. I ran into some problems and wondered if anyone could spot it because I have no idea. Firstly, unlike all my other quests, this exclamation point I give the character does not go away for some reason. Also, when I am removing one item and dropping another, It does not remove the item from the hero's inventory. Finally when I turnt he quest in I receive none of the rewards.....My previous quest is modeled almost the same way and works just fine... Thoughts?
Trigger one
trigger 2
Trigger 3
Trigger 4
Trigger 5
Trigger 6
Trigger one
Trigger:
- exclamation point hidden quest
- Events
- Map initialization
- Conditions
- Actions
- Special Effect - Create a special effect attached to the overhead of DewShine 0086 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
- Set QuestEffects[1] = QuestEffects[1]
- Events
trigger 2
Trigger:
- Quest hidden Spiders
- Events
- Unit - A unit comes within 400.00 of DewShine 0086 <gen>
- Conditions
- ((Entering unit) is A Hero) Equal to True
- Actions
- Special Effect - Destroy QuestEffects[1]
- Quest - Display to (All players) the Quest Update message: Stay Back! I may be...
- Quest - Create a Required quest titled Anti-Dote! with the description Collect 1 Venom fro..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
- Set AntiVenom[1] = (Last created quest)
- Trigger - Turn off (This trigger)
- Events
Trigger 3
Trigger:
- AntiVenom
- Events
- Unit - A unit Acquires an item
- Conditions
- (AntiVenom[1] is enabled) Equal to True
- (Item-type of (Item being manipulated)) Equal to Venom
- Actions
- Quest - Display to (All players) the Quest Update message: You must now Obtain...
- Events
Trigger 4
Trigger:
- ObtainAnti venom
- Events
- Unit - A unit enters Region 015 <gen>
- Conditions
- ((Entering unit) is A Hero) Equal to ((Triggering unit) has an item of type Venom)
- Actions
- Floating Text - Create floating text that reads *Strange noises fil... at (Center of Region 015 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Wait 2.00 seconds
- Item - Remove (Item carried by (Triggering unit) of type Venom)
- Wait 2.00 seconds
- Item - Create Antidote at (Center of Region 015 <gen>)
- Quest - Display to (All players) the Quest Update message: Rush this to DewShi...
- Events
Trigger 5
Trigger:
- QuestComplete
- Events
- Unit - A unit comes within 200.00 of DewShine 0086 <gen>
- Conditions
- ((Entering unit) is A Hero) Equal to ((Triggering unit) has an item of type Venom)
- Actions
- Set DewshineComplete[(Player number of (Owner of (Hero manipulating item)))] = (DewshineComplete[(Player number of (Owner of (Hero manipulating item)))] + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- DewshineComplete[(Player number of (Owner of (Hero manipulating item)))] Equal to 1
- Then - Actions
- Quest - Mark AntiVenom[1] as Completed
- Quest - Display to (All players) the Quest Update message: Good job you have s...
- Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
- Loop - Actions
- Hero - Add 250 experience to (Picked unit), Show level-up graphics
- Player - Add 200 to (Owner of (Item being manipulated)) Current gold
- Trigger - Turn off (This trigger)
- Loop - Actions
- Else - Actions
- If - Conditions
- Events
Trigger 6
Trigger:
- remove antidote
- Events
- Unit - A unit comes within 256.00 of DewShine 0086 <gen>
- Conditions
- ((Triggering unit) Equal to (Hero manipulating item)) and ((Item being manipulated) Equal to (Item carried by (Triggering unit) of type Antidote))
- Actions
- Wait 2.00 seconds
- Floating Text - Create floating text that reads Oh Thank you! You h... above DewShine 0086 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Item - Remove (Item being manipulated)
- Wait 3.00 seconds
- Floating Text - Destroy (Last created floating text)
- Events