Ok here I will post all my question/problems because I don't want to make much threads so users/moderators think I'm a spammer.
So my problem now is with a quest (I editing a little from last thread) :
and
and
and
Ok so my question is : How to change the last trigger to turn on Eredar Diabolists Quest, ONLY if Hero DOESN'T have the item ?
So my problem now is with a quest (I editing a little from last thread) :
Code:
Eredar Diabolists Start
Events
Unit - A unit comes within 200.00 of Quest Giver (Night Elf Form) 0011 <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Special Effect - Destroy QuestEffects[1]
Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Update message: Help me, great hero...
Quest - Create a Required quest titled Old Quest Giver with the description You must kill both ..., using icon path ReplaceableTextures\CommandButtons\BTNEredarWarlockPurple.blp
Set Quests[1] = (Last created quest)
Trigger - Turn off (This trigger)
and
Code:
Eredar Diabolists Kills
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Eredar Diabolist
Actions
Set EredarDiabolistsKills = (EredarDiabolistsKills + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
EredarDiabolistsKills Equal to 2
Then - Actions
Sound - Play GoodJob <gen>
Game - Display to (Player group((Owner of (Triggering unit)))) for 8.00 seconds the text: You killed both Ere...
Trigger - Turn on Eredar Diabolists Complete <gen>
Else - Actions
Do nothing
and
Code:
Eredar Diabolists Complete
Events
Unit - A unit comes within 200.00 of Quest Giver (Night Elf Form) 0011 <gen>
Conditions
((Entering unit) is A Hero) Equal to True
EredarDiabolistsKills Equal to 2
Actions
Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Update message: Thank you for your ...
Item - Create |cff4169E1ColdRage Sword|r at (Center of Reward <gen>)
Quest - Mark Quests[1] as Completed
Trigger - Turn off (This trigger)
and
Code:
Eredar Diabolists Inreward
Events
Unit - A unit comes within 200.00 of Quest Giver (Night Elf Form) 0011 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entering unit) is A Hero) Equal to True
(Item-type of (Item carried by (Triggering unit) of type |cff4169E1ColdRage Sword|r)) Equal to |cff4169E1ColdRage Sword|r
Then - Actions
Do nothing
Else - Actions
Trigger - Turn on Eredar Diabolists Start <gen>
Ok so my question is : How to change the last trigger to turn on Eredar Diabolists Quest, ONLY if Hero DOESN'T have the item ?