Quest Problem ...

Marrusian

New Member
Reaction score
2
Ok so let's show the triggers :

Code:
Eredar Diabolists Quest
    Events
        Player - Player 1 (Red) Selects a unit
        Player - Player 2 (Blue) Selects a unit
        Player - Player 3 (Teal) Selects a unit
        Player - Player 4 (Purple) Selects a unit
    Conditions
        (Triggering unit) Equal to Quest Giver (Night Elf Form) 0011 <gen>
        ((Region centered at (Position of Quest Giver (Night Elf Form) 0011 <gen>) with size (400.00, 400.00)) contains (Position of Blood Mage 0003 <gen>)) Equal to True
        Eredar_Diabolist_Kill[(Player number of (Owner of (Triggering unit)))] Equal to 0
    Actions
        Cinematic - Turn cinematic mode On for (All players)
        Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
        Camera - Apply Eredar Diabolist Quest <gen> for (Triggering player) over 1.00 seconds
        Cinematic - Send transmission to (All players) from Quest Giver (Night Elf Form) 0011 <gen> named Quest Giver  : Play No sound and display Hello there. As you....  Modify duration: Set to 8.50 seconds and Wait
        Wait 1.00 seconds
        Cinematic - Send transmission to (All players) from No unit named Quest Requirments:: Play No sound and display Kill the Elder Diab....  Modify duration: Set to 3.00 seconds and Wait
        Wait 2.00 seconds
        Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
        Cinematic - Turn cinematic mode Off for (All players)
        Camera - Reset camera for (Triggering player) to standard game-view over 0.00 seconds
        Trigger - Turn on Eredar Diabolists Kill <gen>
        Quest - Create a Optional quest titled Eredar Diabolist Ki... with the description The Quest Giver wan..., using icon path ReplaceableTextures\CommandButtons\BTNEredarWarlockPurple.blp
        Quest - Display to (All players) the Quest Update message: NEW QUEST!: Kill al...
        Set Eredar_Diabolist_Kill[(Player number of (Owner of (Triggering unit)))] = 1
        Set Eredar_Killed_Quest = (Last created quest)

and

Code:
Eredar Diabolists Kill
    Events
        Unit - A unit Dies
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Triggering unit)) Equal to Eredar Diabolist
                (Unit-type of (Triggering unit)) Equal to Eredar Sorcerer
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Eredar_Killed_Quest is enabled) Equal to True
            Then - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Player number of (Owner of (Killing unit))) Equal to 12
                    Then - Actions
                        Sound - Play GoodJob <gen>
                        Game - Display to (All players) the text: Return to the Quest...
                    Else - Actions
                        Set Eredar_Diabolist_Kill[(Player number of (Owner of (Killing unit)))] = (Eredar_Diabolist_Kill[(Player number of (Owner of (Killing unit)))] + 1)
            Else - Actions
                Do nothing

and

Code:
Eredar Diabolists Quest Complete
    Events
        Unit - A unit comes within 200.00 of Quest Giver (Night Elf Form) 0011 <gen>
    Conditions
        Eredar_Diabolist_Kill[(Player number of (Owner of (Triggering unit)))] Equal to 12
    Actions
        Cinematic - Turn cinematic mode On for (Player group((Owner of (Triggering unit))))
        Cinematic - Turn on letterbox mode (hide interface) for (Player group((Owner of (Triggering unit)))): fade out over 2.00 seconds
        Camera - Apply Eredar Diabolist Quest <gen> for Player 1 (Red) over 1.00 seconds
        Cinematic - Send transmission to (Player group((Owner of (Triggering unit)))) from Quest Giver (Night Elf Form) 0011 <gen> named Quest Giver: Play No sound and display You have actually k....  Modify duration: Set to 4.00 seconds and Wait
        Cinematic - Turn off letterbox mode (show interface) for (Player group((Owner of (Triggering unit)))): fade in over 2.00 seconds
        Cinematic - Turn cinematic mode Off for (Player group((Owner of (Triggering unit))))
        Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.00 seconds
        Item - Create |cff4169E1ColdRage Sword|r at (Position of (Triggering unit))
        Quest - Mark Eredar_Killed_Quest as Completed
        Quest - Display to (Player group((Owner of (Triggering unit)))) the Quest Update message: Quest Completed
        Set Eredar_Diabolist_Kill[(Player number of (Owner of (Triggering unit)))] = 4

The problem is with the quest complete, he don't want to give me the reward.

Could someone make me the triggers for multiplayer map and fix the problem ?
 
B

Blue_Hand

Guest
i don't understand why you set this condition (when killing eredar)
(Player number of (Owner of (Killing unit))) Equal to 12
if this is multiplayer map
and you didn't set Eredar_Diabolist_Kill[] to 12 after killing him so you won't get a reward
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top