Hi
I am trying to make a Questgiver which is able to give multiple quests to a player.
So a general process will be,
1. Player chooses quest from questgiver
2. Player acquires quest item from questgiver
3. Item manipulated is removed
4. Quest is activated for the Player
Here is my trigger:
Using this trigger, if you would to acquire the quest for the second time, the item manipulated will not be destroyed and will instead become an item in the inventory.
Although there is no quest activated, how do I remove the item manipulated?
I am trying to make a Questgiver which is able to give multiple quests to a player.
So a general process will be,
1. Player chooses quest from questgiver
2. Player acquires quest item from questgiver
3. Item manipulated is removed
4. Quest is activated for the Player
Here is my trigger:
-
Track Down The Bandits A
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Track Down The Bandits!
-
((Triggering unit) is A Hero) Equal to True
-
(Hero level of (Triggering unit)) Less than or equal to 10
-
((Triggering unit) is in TrackDownTheBandits_Group) Equal to False
-
-
Actions
-
Item - Remove (Item being manipulated)
-
Unit Group - Add (Triggering unit) to TrackDownTheBandits_Group
-
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffffcc00Training ...
-
Quest - Create a Required quest titled (Remove Threat! ( + ((Name of (Owner of (Triggering unit))) + ))) with the description Assassins lurks wit..., using icon path ReplaceableTextures\CommandButtons\BTNFelHound.blp
-
Set TrackDownTheBandits[(Player number of (Triggering player))] = (Last created quest)
-
-
Using this trigger, if you would to acquire the quest for the second time, the item manipulated will not be destroyed and will instead become an item in the inventory.
Although there is no quest activated, how do I remove the item manipulated?