• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

What this problem with my strings?

Status
Not open for further replies.
here are the triggers:

  • sTRING
    • Events
    • Conditions
    • Actions
      • Set MEQS_Quest = (Load 6 of MEQS_QuestNumber in MEQS_Hashtable)
      • For each (Integer A) from 1 to 45, do (Actions)
        • Loop - Actions
          • Set MEQS_Integer[0] = (Integer A)
          • Set MEQS_String[MEQS_Integer[0]] = <Empty String>
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Set MEQS_Integer[0] = (Integer A)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Load (14 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable) Greater than 0
            • Then - Actions
              • Set MEQS_Integer[1] = (Load (9 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable)
              • Custom script: set udg_MEQS_ItemType[0] = udg_MEQS_Integer[1]
              • Custom script: set udg_MEQS_String[0] = GetObjectName(udg_MEQS_ItemType[0])
              • Set MEQS_String[(0 + MEQS_Integer[0])] = (MEQS_Color[2] + (MEQS_Settings_CollectMSG + (|r + (MEQS_Color[3] + ((String((Load (6 + MEQS_Integer[0]) of MEQS_QuestNumber from MEQS_Hashtable))) + (/ + ((String((Load (14 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable))) + (|r + (MEQS_Color[2] + (M
              • Set MEQS_String[(5 + MEQS_Integer[0])] = (|n + MEQS_String[(0 + MEQS_Integer[0])])
              • Set MEQS_String[41] = (MEQS_String[41] + MEQS_String[(5 + MEQS_Integer[0])])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Load (24 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable) Greater than 0
            • Then - Actions
              • Set MEQS_Integer[2] = (Load (19 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable)
              • Custom script: set udg_MEQS_UnitType[0] = udg_MEQS_Integer[2]
              • Custom script: set udg_MEQS_String[0] = GetObjectName(udg_MEQS_UnitType[0])
              • Set MEQS_String[(10 + MEQS_Integer[0])] = (MEQS_Color[2] + (MEQS_Settings_KilledMSG + (|r + (MEQS_Color[3] + ((String((Load (16 + MEQS_Integer[0]) of MEQS_QuestNumber from MEQS_Hashtable))) + (/ + ((String((Load (24 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable))) + (|r + (MEQS_Color[2] + (M
              • Set MEQS_String[(15 + MEQS_Integer[0])] = (|n + MEQS_String[(10 + MEQS_Integer[0])])
              • Set MEQS_String[42] = (MEQS_String[42] + MEQS_String[(15 + MEQS_Integer[0])])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Load (64 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable) Greater than 0
            • Then - Actions
              • Set MEQS_Integer[3] = (Load (49 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable)
              • Custom script: set udg_MEQS_ItemType[0] = udg_MEQS_Integer[3]
              • Custom script: set udg_MEQS_String[0] = GetObjectName(udg_MEQS_ItemType[0])
              • Set MEQS_String[(20 + MEQS_Integer[0])] = (MEQS_Color[2] + (MEQS_Settings_UsedMSG + ((|r + MEQS_Color[3]) + ((String((Load (26 + MEQS_Integer[0]) of MEQS_QuestNumber from MEQS_Hashtable))) + (/ + ((String((Load (64 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable))) + (MEQS_Color[1] + (MEQS_Str
              • Set MEQS_String[(25 + MEQS_Integer[0])] = (|n + MEQS_String[(20 + MEQS_Integer[0])])
              • Set MEQS_String[43] = (MEQS_String[43] + MEQS_String[(25 + MEQS_Integer[0])])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Load (29 + MEQS_Integer[0]) of MEQS_InfoQN in MEQS_Hashtable) Not equal to No unit
            • Then - Actions
              • Set MEQS_String[(30 + MEQS_Integer[0])] = (MEQS_Color[2] + (MEQS_Settings_TalkMSG + (|r + (MEQS_Color[3] + (Name of (Load (29 + MEQS_Integer[0]) of MEQS_InfoQN in MEQS_Hashtable))))))
              • Set MEQS_String[(35 + MEQS_Integer[0])] = (|n + MEQS_String[(30 + MEQS_Integer[0])])
              • Set MEQS_String[44] = (MEQS_String[44] + MEQS_String[(35 + MEQS_Integer[0])])
            • Else - Actions
      • Set MEQS_String[45] = (MEQS_String[41] + (MEQS_String[42] + (MEQS_String[43] + MEQS_String[44])))
      • Quest - Change the description of MEQS_Quest to ((Load 2 of MEQS_InfoQN from MEQS_Hashtable) + (|n + MEQS_String[45]))
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set MEQS_Unit[0] = (Killing unit)
      • Set MEQS_Player = (Owner of MEQS_Unit[0])
      • Set MEQS_UnitType[0] = (Unit-type of (Triggering unit))
      • For each (Integer MEQS_LOOP) from 1 to MEQS_Quest_Index, do (Actions)
        • Loop - Actions
          • Set MEQS_QuestNumber = ((Player number of MEQS_Player) x (1000 + MEQS_LOOP))
          • Set MEQS_InfoQN = MEQS_LOOP
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Load 1 of MEQS_QuestNumber from MEQS_Hashtable) Equal to 1
            • Then - Actions
              • For each (Integer A) from 1 to 5, do (Actions)
                • Loop - Actions
                  • Set MEQS_Integer[0] = (Integer A)
                  • Set MEQS_Integer[1] = (Load (19 + MEQS_Integer[0]) of MEQS_InfoQN from MEQS_Hashtable)
                  • Custom script: set udg_MEQS_UnitType[1] = udg_MEQS_Integer[1]
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • MEQS_UnitType[1] Equal to MEQS_UnitType[0]
                    • Then - Actions
                      • Hashtable - Save ((Load (16 + MEQS_Integer[0]) of MEQS_QuestNumber from MEQS_Hashtable) + 1) as (16 + MEQS_Integer[0]) of MEQS_QuestNumber in MEQS_Hashtable
                      • Trigger - Run sTRING <gen> (checking conditions)
                      • Game - Display to (All players) the text: MEQS_String[(10 + (Integer A))]
                    • Else - Actions
            • Else - Actions
 
Status
Not open for further replies.
Top