• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Quest Bug!

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
xo5Ukdv.jpg

Then write this:
[hidden=Trigger][trigger] (copy the trigger here) [/trigger][/hidden]​
It will look like this:
  • Start Geefoks
    • Events
      • Unit - A unit comes within 300.00 of Dungeon Keeper 0786 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Quest - Display to (All players) the Quest Update message: |c00ffbb00Quest Dis...
      • Quest - Create a Optional quest titled Geefok with the description Kill Geefok. You ca..., using icon path ReplaceableTextures\CommandButtons\BTNRazorManeChief.blp
      • Set Quest[5] = (Last created quest)
      • Special Effect - Destroy QuestOverheadEffect[5]
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Update Geefoks <gen>
And yes, the condition is strange. Don't know why I left that unchanged :D.
Just remove it, as a hero must kill it (there's no other option, so no condition is needed), some DOT-spell or triggered damage might mess it up.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
not to mention if the killing unit is a dummy unit
If you want to make sure a player-controlled hero kills the boss, use this as a condition instead
  • ((Owner of (Killing unit)) controller) Equal to User // this is under Player Controller Comparison condition
Of course you will need to make sure all spells that deal damage are done by player-controlled unit, as well as all dummy units are controlled by player.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
i cant find it there!
Do you know how GUI works, actually?
You need to click on the things you want to change.

This is the screen when you go to "Player Controller Comparison":
CHfOkIS.jpg

Now what do you need to change? Answer: "Player 1 (Red) controller".
How can you change it? Answer: by clicking on it.

Follow through with this way of thinking, and it will lead you to "Owner of (Killing Unit)".

(In short: click on "Player 1 (Red) controller" --> click on "Player 1 (Red)", go to the functions-tab and select "Owner of Unit" --> click on "Triggering Unit" and change that to "Killing Unit").
 
Level 8
Joined
Jul 18, 2012
Messages
136
Do you know how GUI works, actually?
You need to click on the things you want to change.

This is the screen when you go to "Player Controller Comparison":
CHfOkIS.jpg

Now what do you need to change? Answer: "Player 1 (Red) controller".
How can you change it? Answer: by clicking on it.

Follow through with this way of thinking, and it will lead you to "Owner of (Killing Unit)".

(In short: click on "Player 1 (Red) controller" --> click on "Player 1 (Red)", go to the functions-tab and select "Owner of Unit" --> click on "Triggering Unit" and change that to "Killing Unit").
i know that but i cant find ((Owner of (Killing unit)) controller) < ( I cant find controller)
 
Level 8
Joined
Jul 18, 2012
Messages
136
Thanks man! i find it finaly :D :p
However the quest bug is still there it didin't fixed !
First Trigger :
  • Start Great Hall
    • Events
      • Unit - A unit comes within 300.00 of Stranger 0153 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Quest - Display to (All players) the Quest Update message: |c00ffbb00Quest Dis...
      • Quest - Create a Required quest titled Great Hall with the description The gnolls made a b..., using icon path ReplaceableTextures\CommandButtons\BTNGreathall.blp
      • Set Quest[4] = (Last created quest)
      • Special Effect - Destroy QuestOverheadEffect[4]
      • Unit - Make Great Hall 0018 <gen> Vulnerable
      • Trigger - Turn off (This trigger)
Second Trigger :
  • Update Great Hall
    • Events
      • Unit - Great Hall 0018 <gen> Dies
    • Conditions
      • ((Owner of (Killing unit)) controller) Equal to User
    • Actions
      • Set QuestCompleted[4] = True
      • Quest - Mark Quest[4] as Completed
      • Quest - Display to (All players) the Quest Update message: |c00ffbb00Quest Com...
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Add 3000 to (Picked player) Current gold
          • Hero - Add 6700 experience to Hero[(Player number of (Picked player))], Show level-up graphics
      • Trigger - Turn off (This trigger)
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
That's a different quest than in your original post.

Anyway, I've tested the map (which I still had lying around), and the quest "Geefok" did work for me. Can you be more specific on what the problem is with that quest?

The quest "Great Hall" is indeed bugged, because it is owned by Player 11 (Dark Green), an enemy of Player 12 (Brown), used for the common creeps.
The creeps will destroy the great hall before the player can even reach it.
Change the owner of all units around the Great Hall (and the great hall itself) to Player 12 (just in the editor, don't go to the triggers for this).
 
Level 8
Joined
Jul 18, 2012
Messages
136
That's a different quest than in your original post.

Anyway, I've tested the map (which I still had lying around), and the quest "Geefok" did work for me. Can you be more specific on what the problem is with that quest?

The quest "Great Hall" is indeed bugged, because it is owned by Player 11 (Dark Green), an enemy of Player 12 (Brown), used for the common creeps.
The creeps will destroy the great hall before the player can even reach it.
Change the owner of all units around the Great Hall (and the great hall itself) to Player 12 (just in the editor, don't go to the triggers for this).

I fixed everytink that owned 11 player and 10 now own player 12 !
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
you wrote that reward doesn't work. By that do you mean both XP and gold or one of those? Does the quest updates (to completed quest)
Apologies, this has been solved through PM.
The trigger "Update Great Hall" was disabled and he forgot to enable it in the trigger "Start Great Hall" (or in the trigger editor, either would've been fine).


Also, remove that crap at the bottom of your post or I'll report your ass :D.
 
Status
Not open for further replies.
Top