• 🏆 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!

[Trigger] Item fusion not working

Status
Not open for further replies.
Level 2
Joined
Apr 11, 2008
Messages
19
Im triing to make an item fusion where you drag an item to another one in your inventory and it fuses

The problem is... if a unit acquires an item needed for the recipe it automatically fuses it, rather then having them fuse it.. Does any know why...

  • Events
    • Unit - A unit Is issued an order targeting an object
  • Conditions
  • Actions
    • For each (Integer A) from 1 to 6, do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Item-type of (Target item of issued order)) Equal to Essense of Existence
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of life
              • Then - Actions
                • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The essences bond t...
                • Item - Remove (Target item of issued order)
                • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                • Hero - Create Essence of Eternity and give it to (Ordered unit)
              • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Item-type of (Target item of issued order)) Equal to Essence of life
              • Then - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essense of Existence
                  • Then - Actions
                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The essences bond t...
                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                    • Item - Remove (Target item of issued order)
                    • Hero - Create Essence of Eternity and give it to (Ordered unit)
                  • Else - Actions
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Item-type of (Target item of issued order)) Equal to Essence of Eternity
                  • Then - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Magic dagger
                      • Then - Actions
                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                        • Item - Remove (Target item of issued order)
                        • Hero - Create Eternity dagger and give it to (Ordered unit)
                      • Else - Actions
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Sword
                          • Then - Actions
                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                            • Item - Remove (Target item of issued order)
                            • Hero - Create Eternity's Sword and give it to (Ordered unit)
                          • Else - Actions
                  • Else - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Axe
                      • Then - Actions
                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                        • Item - Remove (Target item of issued order)
                        • Hero - Create Eternity axe and give it to (Ordered unit)
                      • Else - Actions
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Spear
                          • Then - Actions
                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                            • Item - Remove (Target item of issued order)
                            • Hero - Create Eternity Spear and give it to (Ordered unit)
                          • Else - Actions
                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              • If - Conditions
                                • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Staff
                              • Then - Actions
                                • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                                • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                • Item - Remove (Target item of issued order)
                                • Hero - Create Eternity's Staff and give it to (Ordered unit)
                              • Else - Actions
                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  • If - Conditions
                                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Chakram
                                  • Then - Actions
                                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                    • Item - Remove (Target item of issued order)
                                    • Hero - Create Eternity Chakram and give it to (Ordered unit)
                                  • Else - Actions
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Item-type of (Target item of issued order)) Equal to Magic dagger
              • Then - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                  • Then - Actions
                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                    • Item - Remove (Target item of issued order)
                    • Hero - Create Eternity dagger and give it to (Ordered unit)
                  • Else - Actions
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Item-type of (Target item of issued order)) Equal to Axe
                  • Then - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                      • Then - Actions
                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                        • Item - Remove (Target item of issued order)
                        • Hero - Create Eternity axe and give it to (Ordered unit)
                      • Else - Actions
                  • Else - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Item-type of (Target item of issued order)) Equal to Chakram
                      • Then - Actions
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                          • Then - Actions
                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                            • Item - Remove (Target item of issued order)
                            • Hero - Create Eternity Chakram and give it to (Ordered unit)
                          • Else - Actions
                      • Else - Actions
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (Item-type of (Target item of issued order)) Equal to Spear
                          • Then - Actions
                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              • If - Conditions
                                • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                              • Then - Actions
                                • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                                • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                • Item - Remove (Target item of issued order)
                                • Hero - Create Eternity Spear and give it to (Ordered unit)
                              • Else - Actions
                          • Else - Actions
                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              • If - Conditions
                                • (Item-type of (Target item of issued order)) Equal to Staff
                              • Then - Actions
                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  • If - Conditions
                                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                                  • Then - Actions
                                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                    • Item - Remove (Target item of issued order)
                                    • Hero - Create Eternity's Staff and give it to (Ordered unit)
                                  • Else - Actions
                              • Else - Actions
                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  • If - Conditions
                                    • (Item-type of (Target item of issued order)) Equal to Sword
                                  • Then - Actions
                                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      • If - Conditions
                                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Essence of Eternity
                                      • Then - Actions
                                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The power of eterni...
                                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                        • Item - Remove (Target item of issued order)
                                        • Hero - Create Eternity's Sword and give it to (Ordered unit)
                                      • Else - Actions
                                  • Else - Actions
                                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      • If - Conditions
                                        • (Item-type of (Target item of issued order)) Equal to Dark Helmet
                                      • Then - Actions
                                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                          • If - Conditions
                                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Death Orb
                                          • Then - Actions
                                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The Dark plate cons...
                                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                            • Item - Remove (Target item of issued order)
                                            • Hero - Create Forbidden Helmet and give it to (Ordered unit)
                                          • Else - Actions
                                      • Else - Actions
                                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                          • If - Conditions
                                            • (Item-type of (Target item of issued order)) Equal to Death Orb
                                          • Then - Actions
                                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                              • If - Conditions
                                                • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Dark Helmet
                                              • Then - Actions
                                                • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The Dark plate cons...
                                                • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                • Item - Remove (Target item of issued order)
                                                • Hero - Create Forbidden Helmet and give it to (Ordered unit)
                                              • Else - Actions
                                          • Else - Actions
                                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                              • If - Conditions
                                                • (Item-type of (Target item of issued order)) Equal to Crystal Shield
                                              • Then - Actions
                                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                  • If - Conditions
                                                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Coruption Ball
                                                  • Then - Actions
                                                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The crystal magnifi...
                                                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                    • Item - Remove (Target item of issued order)
                                                    • Hero - Create Dark Shield and give it to (Ordered unit)
                                                  • Else - Actions
                                              • Else - Actions
                                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                  • If - Conditions
                                                    • (Item-type of (Target item of issued order)) Equal to Coruption Ball
                                                  • Then - Actions
                                                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                      • If - Conditions
                                                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Crystal Shield
                                                      • Then - Actions
                                                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The crystal magnifi...
                                                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                        • Item - Remove (Target item of issued order)
                                                        • Hero - Create Dark Shield and give it to (Ordered unit)
                                                      • Else - Actions
                                                  • Else - Actions
                                                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                      • If - Conditions
                                                        • (Item-type of (Target item of issued order)) Equal to Ball of Darkness
                                                      • Then - Actions
                                                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                          • If - Conditions
                                                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Ball of light
                                                          • Then - Actions
                                                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The two orbs fuse i...
                                                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                            • Item - Remove (Target item of issued order)
                                                            • Hero - Create Gray Orb and give it to (Ordered unit)
                                                          • Else - Actions
                                                      • Else - Actions
                                                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                          • If - Conditions
                                                            • (Item-type of (Target item of issued order)) Equal to Ball of light
                                                          • Then - Actions
                                                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                              • If - Conditions
                                                                • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Ball of Darkness
                                                              • Then - Actions
                                                                • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The two orbs fuse i...
                                                                • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                                • Item - Remove (Target item of issued order)
                                                                • Hero - Create Gray Orb and give it to (Ordered unit)
                                                              • Else - Actions
                                                          • Else - Actions
                                                            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                              • If - Conditions
                                                                • (Item-type of (Target item of issued order)) Equal to Flower
                                                              • Then - Actions
                                                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                  • If - Conditions
                                                                    • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Gray Orb
                                                                  • Then - Actions
                                                                    • Game - Display to (Player group((Owner of (Ordered unit)))) the text: The flower touches ...
                                                                    • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                                    • Item - Remove (Target item of issued order)
                                                                    • Hero - Create Hope and give it to (Ordered unit)
                                                                  • Else - Actions
                                                              • Else - Actions
                                                                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                  • If - Conditions
                                                                    • (Item-type of (Target item of issued order)) Equal to Hope
                                                                  • Then - Actions
                                                                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                      • If - Conditions
                                                                        • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Dark Shield
                                                                      • Then - Actions
                                                                        • Game - Display to (Player group((Owner of (Ordered unit)))) the text: Hope reaches into t...
                                                                        • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                                        • Item - Remove (Target item of issued order)
                                                                        • Hero - Create Forbidden Shield and give it to (Ordered unit)
                                                                      • Else - Actions
                                                                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                          • If - Conditions
                                                                            • (Item-type of (Item carried by (Ordered unit) in slot (Integer A))) Equal to Death Helmet
                                                                          • Then - Actions
                                                                            • Game - Display to (Player group((Owner of (Ordered unit)))) the text: Hope reaches into t...
                                                                            • Item - Remove (Item carried by (Ordered unit) in slot (Integer A))
                                                                            • Item - Remove (Target item of issued order)
                                                                            • Hero - Create Forbidden Helmet and give it to (Ordered unit)
                                                                          • Else - Actions
                                                                  • Else - Actions
 
Level 13
Joined
Nov 4, 2006
Messages
1,239
its really hard to find out whats wrong with a trigger which is about 3 pages, why don't you use something simple, like if a player has the two items needed for fusion in his inventory, he can type "fusion" or something like that and then the new item is created, or use a dummy ability, the drag sytem won't work i think
 
Level 7
Joined
Sep 5, 2006
Messages
334
First Look:"Integer A" There is no loop with Integer A as far as I see.Secord Look: This trigger will take days to fix...
 
Status
Not open for further replies.
Top