• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Quest And Multiboard System v.1.20

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
This is a quest system, when you have a quest, the quest will appear in the multiboard.

Quest Type : - Kill Unit
- Find Item

You can hide and show the multiboard.

Give Credit to me if you use it in your map.



The Real Variable Name
KUQS_****** == QS_*****
KUQ_***** == Q_*****
  • Quest Multiboard Init
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • -------- ---------------------------------------------------------------- --------
      • Multiboard - Create a multiboard with 5 columns and (1 + QuestMultiboard_Total) rows, titled Quests
      • -------- ---------------------------------------------------------------- --------
      • Set QuestMultiboard = (Last created multiboard)
      • Set QuestMultiboard_RowNumber = 1
      • -------- ---------------------------------------------------------------- --------
      • Set QuestMultiboard_PlayerColor[1] = |c00ff0000
      • Set QuestMultiboard_PlayerColor[2] = |c000000ff
      • Set QuestMultiboard_PlayerColor[3] = |c0000ffc9
      • Set QuestMultiboard_PlayerColor[4] = |c00660085
      • Set QuestMultiboard_PlayerColor[5] = |c00ffff00
      • Set QuestMultiboard_PlayerColor[6] = |c00ff996b
      • Set QuestMultiboard_PlayerColor[7] = |c0000cc00
      • Set QuestMultiboard_PlayerColor[8] = |c00ff99c7
      • Set QuestMultiboard_PlayerColor[9] = |c00999999
      • Set QuestMultiboard_PlayerColor[10] = |c0099ccff
      • Set QuestMultiboard_PlayerColor[11] = |c00006633
      • Set QuestMultiboard_PlayerColor[12] = |c00430000
      • -------- ---------------------------------------------------------------- --------
      • Set QuestMultiboard_PlayerName[1] = (Name of player 1 (Red))
      • Set QuestMultiboard_PlayerName[2] = (Name of player 2 (Blue))
      • Set QuestMultiboard_PlayerName[3] = (Name of player 3 (Teal))
      • Set QuestMultiboard_PlayerName[4] = (Name of player 4 (Purple))
      • Set QuestMultiboard_PlayerName[5] = (Name of player 5 (Yellow))
      • Set QuestMultiboard_PlayerName[6] = (Name of player 6 (Orange))
      • Set QuestMultiboard_PlayerName[7] = (Name of player 7 (Green))
      • Set QuestMultiboard_PlayerName[8] = (Name of player 8 (Pink))
      • Set QuestMultiboard_PlayerName[9] = (Name of player 9 (Grey)
      • Set QuestMultiboard_PlayerName[10] = (Name of player 10 (Light BLue))
      • Set QuestMultiboard_PlayerName[11] = (Name of player 11 (Dark Green))
      • Set QuestMultiboard_PlayerName[12] = (Name of player 12 (brown))
      • -------- ---------------------------------------------------------------- --------
      • Set QuestMultiboard_Player[1] = player 1 (Red)
      • Set QuestMultiboard_Player[2] = player 2 (Blue)
      • Set QuestMultiboard_Player[3] = player 3 (Teal)
      • Set QuestMultiboard_Player[4] = player 4 (Purple)
      • Set QuestMultiboard_Player[5] = player 5 (Yellow)
      • Set QuestMultiboard_Player[6] = player 6 (Orange)
      • Set QuestMultiboard_Player[7] = player 7 (Green)
      • Set QuestMultiboard_Player[8] = player 8 (Pink)
      • Set QuestMultiboard_Player[9] = player 9 (Grey)
      • Set QuestMultiboard_Player[10] = player 10 (Light BLue)
      • Set QuestMultiboard_Player[11] = player 11 (Dark Green)
      • Set QuestMultiboard_Player[12] = player 12 (brown)
      • -------- ---------------------------------------------------------------- --------
      • Multiboard - Set the display style for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to Show text and Hide icons
      • Multiboard - Set the display style for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to Hide text and Show icons
      • Multiboard - Set the display style for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to Show text and Hide icons
      • Multiboard - Set the display style for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to Show text and Hide icons
      • Multiboard - Set the display style for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to Show text and Hide icons
      • -------- ---------------------------------------------------------------- --------
      • Multiboard - Set the text for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to Current Quest :
      • Multiboard - Set the icon for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to ReplaceableTextures\WorldEditUI\Editor-MultipleUnits.blp
      • Multiboard - Set the text for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to |------------|
      • Multiboard - Set the text for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to |------------|
      • Multiboard - Set the text for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to Quest Status
      • -------- ---------------------------------------------------------------- --------
      • Multiboard - Set the width for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to 7.00% of the total screen width
      • Multiboard - Set the width for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to 3.00% of the total screen width
      • Multiboard - Set the width for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to 9.00% of the total screen width
      • Multiboard - Set the width for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to 7.00% of the total screen width
      • Multiboard - Set the width for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to 9.00% of the total screen width
      • -------- ---------------------------------------------------------------- --------
      • Multiboard - Montrer QuestMultiboard
      • Set QuestMultiboard_PlayerGroup = (All players controlled by a Utilisateur player)
      • Player Group - Pick every player in QuestMultiboard_PlayerGroup and do (Actions)
        • Loop - Actions
          • Trigger - Add to Quest Multiboard Hide <gen> the event (Joueur - (Picked player) types a chat message containing -hq as Result equal)
          • Trigger - Add to Quest Multiboard Show <gen> the event (Joueur - (Picked player) types a chat message containing -sq as Result equal)
  • Quest Multiboard Show
    • Events
    • Conditions
      • (QuestMultiboard is showing) Egal à FALSE
    • Actions
      • Multiboard - Show QuestMultiboard
  • Quest Multiboard Hide
    • Events
    • Conditions
      • (QuestMultiboard is showing) Egal à TRUE
    • Actions
      • Multiboard - Hide QuestMultiboard

  • Quest Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_TalkToUnit[1] = Fantassin 0004 <gen>
      • Set KUQS_TalkToUnit[2] = Prêtre 0008 <gen>
      • Set KUQS_TalkToUnit[3] = Fusilier 0005 <gen>
      • Set KUQS_TalkToUnit[4] = Messager Elfe de la nuit 0010 <gen>
      • Set KUQS_TalkToUnit[5] = Druide 0000 <gen>
      • Set KUQS_TalkToUnit[6] = Villageoise (Femme) 0160 <gen>
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_QuestName[1] = Raping The Forest
      • Set KUQS_QuestName[2] = Stopping The Poison
      • Set KUQS_QuestName[3] = Killing Some Gnoll
      • Set KUQS_QuestName[4] = Stopping The Thief
      • Set KUQS_QuestName[5] = Killing The Demon
      • Set KUQS_QuestName[6] = The Delicious Meat
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_ExpRewards[1] = 150
      • Set KUQS_ExpRewards[2] = 175
      • Set KUQS_ExpRewards[3] = 200
      • Set KUQS_ExpRewards[4] = 250
      • Set KUQS_ExpRewards[5] = 400
      • Set KUQS_ExpRewards[6] = 325
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_GoldRewards[1] = 235
      • Set KUQS_GoldRewards[2] = 300
      • Set KUQS_GoldRewards[3] = 400
      • Set KUQS_GoldRewards[4] = 450
      • Set KUQS_GoldRewards[5] = 650
      • Set KUQS_GoldRewards[6] = 300
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_Message[1] = |cffFFFF84Hey Friends! The village is in trouble now, the troll had take a lot of expansion. Then they attack the people in the roads. Please eliminate Them!|r
      • Set KUQS_Message[2] = |cffFFFF84My dauther die of the rigged poison of the gnoll. Please can you avenge me?|r
      • Set KUQS_Message[3] = |cffFFFF84Every day, some Gnoll attack the people in the road. For the security of the village, can you kill them?|r
      • Set KUQS_Message[4] = |cffFFFF84The Troll stole me lot of food every week, can you kill them for me?|r
      • Set KUQS_Message[5] = |cffFFFF84Scuse me man, a lot of demon apears from the hell at south of here. Can you kill them for the security of the village?|r
      • Set KUQS_Message[6] = |cffFFFF84Scuse me man, today its the birthday of my kid and I want some of red baby dragon meat. But the dragon meat cost a lot of money. Can you bring me 8 Green Baby Dragon meat?|r
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_Rewards[1] = |cffFFFF84Thanks my friends, takes this.|r
      • Set KUQS_Rewards[2] = |cffFFFF84Thanks you for avenge me, take this as a token of my gratitude.|r
      • Set KUQS_Rewards[3] = |cffFFFF84Thanks, the village will be gentle whit you.|r
      • Set KUQS_Rewards[4] = |cffFFFF84Thanks, i can eat in peace!|r
      • Set KUQS_Rewards[5] = |cffFFFF84Thanks, the village is in security.|r
      • Set KUQS_Rewards[6] = |cffFFFF84Thanks, you save me a lot of money.|r
      • -------- ---------------------------------------------------------------- --------
      • Set KUQS_Icon[1] = ReplaceableTextures\CommandButtons\BTNForestTrollShadowPriest.blp
      • Set KUQS_Icon[2] = ReplaceableTextures\CommandButtons\BTNBanish.blp
      • Set KUQS_Icon[3] = ReplaceableTextures\CommandButtons\BTNGnollWarden.blp
      • Set KUQS_Icon[4] = ReplaceableTextures\CommandButtons\BTNUnholyAura.blp
      • Set KUQS_Icon[5] = ReplaceableTextures\CommandButtons\BTNDoomGuard.blp
      • Set KUQS_Icon[6] = ReplaceableTextures\CommandButtons\BTNMonsterLure.blp
      • -------- ---------------------------------------------------------------- --------
      • Set Q_TotalQuest = 6
      • For each (Integer A) from 1 to Q_TotalQuest, do (Actions)
        • Boucle - Actions
          • Unit Group - Add KUQS_TalkToUnit[(Integer A)] to Q_QuestGiverGroup
          • Unit - Make QS_TalkToUnit[(Integer A)] Invulnerable
          • Special Effect - Create a special effect attached to the overhead of QS_TalkToUnit[(Integer A)] using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
  • Quest Kill Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- ---------------------------------------------------------------- --------
      • Set QS_KillQuest[1] = TRUE
      • Set QS_KillQuest[2] = TRUE
      • Set QS_KillQuest[3] = TRUE
      • Set QS_KillQuest[4] = TRUE
      • Set QS_KillQuest[5] = TRUE
      • Set QS_KillQuest[6] = FALSE
      • -------- ---------------------------------------------------------------- --------
      • Set QS_NumberOfUnitNeed[1] = 12
      • Set QS_NumberOfUnitNeed[2] = 8
      • Set QS_NumberOfUnitNeed[3] = 5
      • Set QS_NumberOfUnitNeed[4] = 5
      • Set QS_NumberOfUnitNeed[5] = 8
      • Set QS_NumberOfUnitNeed[6] = 0
      • -------- ---------------------------------------------------------------- --------
      • Set QS_UnitType[1] = Wood Troll (LEVEL 1)
      • Set QS_UnitType[2] = Poison Gnoll (LEVEL 1)
      • Set QS_UnitType[3] = Big Gnoll (LEVEL 1)
      • Set QS_UnitType[4] = Berzeker Troll (LEVEL 1)
      • Set QS_UnitType[5] = Demon (LEVEL 10)
      • Set QS_UnitType[6] = (Unit-type of Pas d'unité)
      • -------- ---------------------------------------------------------------- --------
      • Set QS_KillMission[1] = (|cffDEA510Mission :|r |cffFFFF84 Kill + ((String(QS_NumberOfUnitNeed[1])) + ( + Wood Troll.|r)))
      • Set QS_KillMission[2] = (|cffDEA510Mission :|r |cffFFFF84 Eliminate + ((String(QS_NumberOfUnitNeed[2])) + ( + Poison Troll.|r)))
      • Set QS_KillMission[3] = (|cffDEA510Mission :|r |cffFFFF84 Destroy + ((String(QS_NumberOfUnitNeed[3])) + ( + Big Gnoll|r)))
      • Set QS_KillMission[4] = (|cffDEA510Mission :|r |cffFFFF84 Kill + ((String(QS_NumberOfUnitNeed[4])) + ( + Berzeker Troll|r)))
      • Set QS_KillMission[5] = (|cffDEA510Mission :|r |cffFFFF84 Eliminate + ((String(QS_NumberOfUnitNeed[5])) + ( + Demon|r)))
      • Set QS_KillMission[6] = <No Message>
  • Quest Item Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- ---------------------------------------------------------------- --------
      • Set QS_ItemQuest[1] = FALSE
      • Set QS_ItemQuest[2] = FALSE
      • Set QS_ItemQuest[3] = FALSE
      • Set QS_ItemQuest[4] = FALSE
      • Set QS_ItemQuest[5] = FALSE
      • Set QS_ItemQuest[6] = TRUE
      • -------- ---------------------------------------------------------------- --------
      • Set QS_NumberOfItemNeed[1] = 0
      • Set QS_NumberOfItemNeed[2] = 0
      • Set QS_NumberOfItemNeed[3] = 0
      • Set QS_NumberOfItemNeed[4] = 0
      • Set QS_NumberOfItemNeed[5] = 0
      • Set QS_NumberOfItemNeed[6] = 8
      • -------- ---------------------------------------------------------------- --------
      • Set QS_ItemType[1] = (Item-type of Pas d'objet)
      • Set QS_ItemType[2] = (Item-type of Pas d'objet)
      • Set QS_ItemType[3] = (Item-type of Pas d'objet)
      • Set QS_ItemType[4] = (Item-type of Pas d'objet)
      • Set QS_ItemType[5] = (Item-type of Pas d'objet)
      • Set QS_ItemType[6] = Dragon Meat
      • -------- ---------------------------------------------------------------- --------
      • Set QS_ItemMission[1] = <Chaîne vide>
      • Set QS_ItemMission[2] = <Chaîne vide>
      • Set QS_ItemMission[3] = <Chaîne vide>
      • Set QS_ItemMission[4] = <Chaîne vide>
      • Set QS_ItemMission[5] = <Chaîne vide>
      • Set QS_ItemMission[6] = (|cffDEA510Mission :|r |cffFFFF84 Bring + ((String(QS_NumberOfItemNeed[6])) + ( + Red Baby Dragon Meat|r)))
      • -------- ---------------------------------------------------------------- --------
  • Quest Main
    • Events
      • Unit - A unit Recoit un ordre avec objet pour cible
    • Conditions
      • ((Target unit of issued order) is in KUQ_QuestGiverGroup) Equal To TRUE
    • Actions
      • Set Temp_Point1 = (Position of (Target unit of issued order))
      • Set Temp_Point2 = (Position of (Ordered unit))
      • Set Temp_Reel = (Distance between Temp_Point1 and Temp_Point2)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Temp_Reel Inférieur ou Equal To 200.00
        • Then - Actions
          • Unit - Make (Target unit of issued order) face (Ordered unit) over 1.00 seconds
          • For each (Integer A) from 1 to KUQ_TotalQuest, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Target unit of issued order) Equal To KUQS_TalkToUnit[(Integer A)]
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • ((Ordered unit) is in KUQ_QuestGroup[(Integer A)]) Equal To FALSE
                    • Then - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • KUQS_KillQuest[(Integer A)] Equal To TRUE
                        • Then - Actions
                          • -------- ---------------------------------------------------------------- --------
                          • Set QuestMultiboard_RowNumber = (QuestMultiboard_RowNumber + 1)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_Number[1] = (KUQ_Number[1] + 1)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_QuestUnit[KUQ_Number[1]] = (Ordered unit)
                          • Set KUQ_Vendor[KUQ_Number[1]] = (Target unit of issued order)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_UnitType[KUQ_Number[1]] = KUQS_UnitType[(Integer A)]
                          • Set KUQ_ItemType[KUQ_Number[1]] = KUQS_ItemType[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_CurrentNumberOfKill[KUQ_Number[1]] = 0
                          • Set KUQ_CurrentNumberOfItem[KUQ_Number[1]] = 0
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_NeededNumber[KUQ_Number[1]] = KUQS_NumberOfUnitNeed[(Integer A)]
                          • Set KUQ_Row[KUQ_Number[1]] = QuestMultiboard_RowNumber
                          • Set KUQ_Booleen[KUQ_Number[1]] = FALSE
                          • Set KUQ_EXP[KUQ_Number[1]] = KUQS_ExpRewards[(Integer A)]
                          • Set KUQ_GP[KUQ_Number[1]] = KUQS_GoldRewards[(Integer A)]
                          • Set KUQ_QuestNumber[KUQ_Number[1]] = (Integer A)
                          • -------- ---------------------------------------------------------------- --------
                          • Cinematic - Clear the screen of text messages for (Player group((Owner of (Ordered unit))))
                          • Game - Display to (Player group((Owner of (Ordered unit)))) for 30.00 seconds the text: KUQS_Message[(Integer A)]
                          • Game - Display to (Player group((Owner of (Ordered unit)))) for 30.00 seconds the text: KUQS_KillMission[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Unit Group - Add (Ordered unit) to KUQ_QuestGroup[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Change the number of rows for QuestMultiboard to QuestMultiboard_RowNumber
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Set the display style for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to Masquer text and Montrer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Set the width for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to 7.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to 3.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to 9.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to 7.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to 9.00% of the total screen width
                          • -------- ---------------------------------------------------------------- --------
                          • Unit - Create 1 KUQS_UnitType[(Integer A)] for Neutre Passif at (Center of Quest Dummy Unit <gen>) facing Orientation bâtiment par défaut degrees
                          • For each (Integer B) from 1 to 12, do (Actions)
                            • Loop - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of (Ordered unit)) Equal To QuestMultiboard_Player[(Integer B)]
                                • Then - Actions
                                  • Set Temp_String = (0 + (/ + ((String(KUQS_NumberOfUnitNeed[(Integer A)])) + ( + (Name of (Last created unit))))))
                                  • Multitable - Set the text for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to (QuestMultiboard_PlayerColor[(Integer B)] + (QuestMultiboard_PlayerName[(Integer B)] + |r))
                                • Else - Actions
                          • Unit - Remove (Last created unit) from the game
                          • Multiboard - Set the icon for (Last created multiboard) item in column 2, row QuestMultiboard_RowNumber to KUQS_Icon[(Integer A)]
                          • Multiboard - Set the text for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to KUQS_QuestName[(Integer A)]
                          • Multiboard - Set the text for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to Temp_String
                          • Multiboard - Set the text for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to |c00ff0000No...
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Set the color for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to (100.00%, 0.00%, 0.00%) with 0.00% transparency
                          • -------- ---------------------------------------------------------------- --------
                          • Sound - Play QuestNew <gen>
                        • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • KUQS_ItemQuest[(Integer A)] Equal To TRUE
                        • Then - Actions
                          • -------- ---------------------------------------------------------------- --------
                          • Set QuestMultiboard_RowNumber = (QuestMultiboard_RowNumber + 1)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_Number[1] = (KUQ_Number[1] + 1)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_QuestUnit[KUQ_Number[1]] = (Ordered unit)
                          • Set KUQ_Vendor[KUQ_Number[1]] = (Target unit of issued order)
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_UnitType[KUQ_Number[1]] = KUQS_UnitType[(Integer A)]
                          • Set KUQ_ItemType[KUQ_Number[1]] = KUQS_ItemType[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_CurrentNumberOfKill[KUQ_Number[1]] = 0
                          • Set KUQ_CurrentNumberOfItem[KUQ_Number[1]] = 0
                          • -------- ---------------------------------------------------------------- --------
                          • Set KUQ_CurrentNumberOfKill[KUQ_Number[1]] = 0
                          • Set KUQ_NeededNumber[KUQ_Number[1]] = KUQS_NumberOfItemNeed[(Integer A)]
                          • Set KUQ_Row[KUQ_Number[1]] = QuestMultiboard_RowNumber
                          • Set KUQ_Booleen[KUQ_Number[1]] = FALSE
                          • Set KUQ_EXP[KUQ_Number[1]] = KUQS_ExpRewards[(Integer A)]
                          • Set KUQ_GP[KUQ_Number[1]] = KUQS_GoldRewards[(Integer A)]
                          • Set KUQ_QuestNumber[KUQ_Number[1]] = (Integer A)
                          • -------- ---------------------------------------------------------------- --------
                          • Cinematic - Clear the screen of text messages for (Player group((Owner of (Ordered unit))))
                          • Game - Display to (Player group((Owner of (Ordered unit)))) for 30.00 seconds the text: KUQS_Message[(Integer A)]
                          • Game - Display to (Player group((Owner of (Ordered unit)))) for 30.00 seconds the text: KUQS_ItemMission[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Unit Group - Add (Ordered unit) to KUQ_QuestGroup[(Integer A)]
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Change the number of rows for QuestMultiboard to QuestMultiboard_RowNumber
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Set the display style for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to Masquer text and Montrer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • Multiboard - Set the display style for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to Montrer text and Masquer icons
                          • -------- ---------------------------------------------------------------- --------
                          • Multiboard - Set the width for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to 7.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 2, row QuestMultiboard_RowNumber to 3.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to 9.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to 7.00% of the total screen width
                          • Multiboard - Set the width for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to 9.00% of the total screen width
                          • -------- ---------------------------------------------------------------- --------
                          • Objet - Create KUQS_ItemType[(Integer A)] at (Center of Quest Dummy Unit <gen>)
                          • For each (Integer B) from 1 to 12, do (Actions)
                            • Boucle - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • Si - Conditions
                                  • (Owner of (Ordered unit)) Equal To QuestMultiboard_Player[(Integer B)]
                                • Alors - Actions
                                  • Set Temp_String = (0 + (/ + ((String(KUQS_NumberOfItemNeed[(Integer A)])) + ( + (Name of (Last created item))))))
                                  • Multitable - Set the text for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to (QuestMultiboard_PlayerColor[(Integer B)] + (QuestMultiboard_PlayerName[(Integer B)] + |r))
                                • Sinon - Actions
                          • Objet - Remove (Last created item)
                          • Multiboard - Set the icon for (Last created multiboard) item in column 2, row QuestMultiboard_RowNumber to KUQS_Icon[(Integer A)]
                          • Multiboard - Set the text for QuestMultiboard item in column 3, row QuestMultiboard_RowNumber to KUQS_QuestName[(Integer A)]
                          • Multiboard - Set the text for QuestMultiboard item in column 4, row QuestMultiboard_RowNumber to Temp_String
                          • Multiboard - Set the text for QuestMultiboard item in column 5, row QuestMultiboard_RowNumber to |c00ff0000No...
                          • ----------------------------------------------------------------------- --------
                          • Multiboard - Set the color for QuestMultiboard item in column 1, row QuestMultiboard_RowNumber to (100.00%, 0.00%, 0.00%) with 0.00% transparency
                          • -------- ---------------------------------------------------------------- --------
                          • Sound - Play QuestNew <gen>
                        • Else - Actions
                    • Else - Actions
                      • For each (Integer KUQ_Number[2]) from 1 to KUQ_Number[1], do (Actions)
                        • Loop - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Ordered unit) Equal To KUQ_QuestUnit[KUQ_Number[2]]
                            • Then - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • KUQ_Booleen[KUQ_Number[2]] Equal To TRUE
                                • Then - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Target unit of issued order) Equal To KUQ_Vendor[KUQ_Number[2]]
                                    • Then - Actions
                                      • Cinematic - Clear the screen of text messages for (Player group((Owner of (Ordered unit))))
                                      • Game - Display to (Player group((Owner of (Ordered unit)))) for 30.00 seconds the text: KUQS_Rewards[KUQ_QuestNumber[KUQ_Number[2]]]
                                      • -------- ---------------------------------------------------------------- --------
                                      • Hero - Add KUQ_EXP[KUQ_Number[2]] experience to (Ordered unit), Montrer level-up graphics
                                      • Floating Text - Create floating text that reads ((String(KUQ_EXP[KUQ_Number[2]])) + EXP) above (Ordered unit) with Z offset 30.00, using font size 10.00, color (70.00%, 0.00%, 70.00%), and 0.00% transparency
                                      • Floating Text - Change (Last created floating text): Désactiver permanence
                                      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 45.00 degrees
                                      • Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
                                      • Floating Text - Change the fading age of (Last created floating text) to 1.50 seconds
                                      • -------- ---------------------------------------------------------------- --------
                                      • Player - Add KUQ_GP[KUQ_Number[2]] to (Owner of (Ordered unit)) Or actuel
                                      • Floating Text - Create floating text that reads ((String(KUQ_GP[KUQ_Number[2]])) + GP) above (Ordered unit) with Z offset 30.00, using font size 10.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
                                      • Floating Text - Change (Last created floating text): Désactiver permanence
                                      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 135.00 degrees
                                      • Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
                                      • Floating Text - Change the fading age of (Last created floating text) to 1.50 seconds
                                      • -------- ---------------------------------------------------------------- --------
                                      • Set KUQ_Booleen[KUQ_Number[2]] = FALSE
                                      • -------- ---------------------------------------------------------------- --------
                                      • Sound - Play QuestCompleted <gen>
                                    • Else - Actions
                                • Else - Actions
                            • Else - Actions
                • Else - Actions
        • Else - Actions
  • Quest Kill Completition
    • Events
      • Unit - A unit owned by Neutre Hostile Meurt
    • Conditions
    • Actions
      • For each (Integer KUQ_Number[2]) from 1 to KUQ_Number[1], do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Dying unit)) Equal To KUQ_UnitType[KUQ_Number[2]]
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Killing unit) Equal To KUQ_QuestUnit[KUQ_Number[2]]
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KUQ_Booleen[KUQ_Number[2]] Equal To FALSE
                    • Then - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • KUQ_NumberOfCurrentKilledUnit[KUQ_Number[2]] Below To KUQ_NumberOfUnitNeeded[KUQ_Number[2]]
                        • Then - Actions
                          • Set KUQ_NumberOfCurrentKilledUnit[KUQ_Number[2]] = (KUQ_NumberOfCurrentKilledUnit[KUQ_Number[2]] + 1)
                          • Set Temp_String = ((String(KUQ_NumberOfCurrentKilledUnit[KUQ_Number[2]])) + ( / + ((String(KUQ_NumberOfUnitNeeded[KUQ_Number[2]])) + ( + (Name of (Dying unit))))))
                          • Multiboard - Set the text for QuestMultiboard item in column 4, row KUQ_Row[KUQ_Number[2]] to Temp_String
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • KUQ_NumberOfCurrentKilledUnit[KUQ_Number[2]] Egal à KUQ_NumberOfUnitNeeded[KUQ_Number[2]]
                            • Then - Actions
                              • Set KUQ_Booleen[KUQ_Number[2]] = TRUE
                              • Set Temp_Point1 = (Position of KUQ_Vendor[KUQ_Number[2]])
                              • Cinematique - Ping minimap for Temp_PlayerGroup at Temp_Point1 for 5.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)
                              • Game - Display to (Player group((Owner of (Killing unit)))) the text: |cffDEA510QUEST COM...
                              • Multiboard - Set the text for QuestMultiboard item in column 5, row KUQ_Row[KUQ_Number[2]] to |c0000cc00Fi...
                              • Custom script: call RemoveLocation(udg_Temp_Point1)
                            • Else - Actions
                        • Else - Actions
                    • Else - Actions
                • Else - Actions
            • Else - Actions
  • Quest Item Completition
    • Events
      • Unit - A unit Acquiert un objet
    • Conditions
    • Actions
      • For each (Integer KUQ_Number[2]) from 1 to KUQ_Number[1], do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item being manipulated)) Equal To KUQ_ItemType[KUQ_Number[2]]
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Hero manipulating item) Equal To KUQ_QuestUnit[KUQ_Number[2]]
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KUQ_Booleen[KUQ_Number[2]] Quest Item Completion
                    • Then - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • KUQ_CurrentNumberOfItem[KUQ_Number[2]] Below To KUQ_NeededNumber[KUQ_Number[2]]
                        • Then - Actions
                          • Set KUQ_CurrentNumberOfItem[KUQ_Number[2]] = (KUQ_CurrentNumberOfItem[KUQ_Number[2]] + 1)
                          • Set Temp_String = ((String(KUQ_CurrentNumberOfItem[KUQ_Number[2]])) + ( / + ((String(KUQ_NeededNumber[KUQ_Number[2]])) + ( + (Name of (Item being manipulated))))))
                          • Cinematic - Clear the screen of text messages for (Player group((Owner of (Killing unit))))
                          • Multiboard - Set the text for QuestMultiboard item in column 4, row KUQ_Row[KUQ_Number[2]] to Temp_String
                          • Partie - Display to (Player group((Owner of (Hero manipulating item)))) the text: (|cffDEA510 + (Temp_String + |r))
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • KUQ_CurrentNumberOfItem[KUQ_Number[2]] Equal To  KUQ_NeededNumber[KUQ_Number[2]]
                            • Then - Actions
                              • Set KUQ_Booleen[KUQ_Number[2]] = TRUE
                              • Set Temp_Point1 = (Position of KUQ_Vendor[KUQ_Number[2]])
                              • Cinematic - Clear the screen of text messages for (Player group((Owner of (Hero manipulating item))))
                              • Cinematic - Ping minimap for (Player group((Owner of (Hero manipulating item)))) at Temp_Point1 for 1.00 seconds
                              • Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: |cffDEA510QUEST COM...
                              • Multiboard - Set the text for QuestMultiboard item in column 5, row KUQ_Row[KUQ_Number[2]] to |c0000cc00Fi...
                              • Custom script: call RemoveLocation(udg_Temp_Point1)
                            • Else - Actions
                          • Objet - Remove (Item being manipulated)
                          • Sound - Play QuestLog <gen>
                        • Else - Actions
                    • Else - Actions
                • Else - Actions
            • Else - Actions



- When a quest is finish, the quest disapears (I need help for this)
- I will add Documentation



- Initial Release


- Remove Some Leaks
- Added Sound
- Remove Player Group


- Added Item Completion
- Added More Sound
- Added 2 More Quest



Sorry for my english, my english is bad.

~ Gaby-Boy

Keywords:
quest, multiboard, gaby-boy, system, unit, item.
Contents

Encore une carte Warcraft III (Map)

Reviews
17th Nov 2015 BPower: Rejected due to no update within years. 12:13, 17th Jun 2010 TriggerHappy: It's too limited. Only works for quests which require you to kill x amount of units?
Status
Not open for further replies.

Moderator

M

Moderator

17th Nov 2015
BPower: Rejected due to no update within years.

12:13, 17th Jun 2010
TriggerHappy:

It's too limited. Only works for quests which require you to kill x amount of units?
 
Status
Not open for further replies.
Top