• 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.

Another Passive not working...

Status
Not open for further replies.
Level 7
Joined
Aug 15, 2012
Messages
318
Well its been a pain trying to figure out what I did this time but I still feel dumb about all my other problems so ye. well heres my issue the passive im trying to get working basically has a % chance to cast the same abilitiy twice however it doesnt work on my map.. heres the trigger info

  • Persistancy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • -------- --------------------------------------------------------------------------- Changeable Variables START --------------------------------------------------------------------------- --------
      • -------- PE_Chance2 should not be set very high, because it might cause an overflow on your system if too many spells are casted at the same time. --------
      • Set PE_Chance2 = (5 x (Level of |c00ffff00Persistancy|r for (Triggering unit)))
      • Set PE_Chance = (Random integer number between 1 and 100)
      • -------- --------------------------------------------------------------------------- Changeable Variables STOP --------------------------------------------------------------------------- --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • PE_Chance Less than or equal to PE_Chance2
        • Then - Actions
          • Set TempLoc3 = (Position of (Triggering unit))
          • Set TempLoc4 = (Target point of ability being cast)
          • Unit - Create 1 Eldin Sunstrider (Persistance) for (Owner of (Triggering unit)) at TempLoc3 facing Default building facing degrees
          • Unit - Add a 1.60 second Generic expiration timer to (Last created unit)
          • Unit - Add (Ability being cast) to (Last created unit)
          • Unit - Add |c00ffff00Persistancy|r to (Last created unit)
          • Unit - Set level of (Ability being cast) for (Last created unit) to (Level of (Ability being cast) for (Triggering unit))
          • Unit - Set level of |c00ffff00Persistancy|r for (Last created unit) to (Level of |c00ffff00Persistancy|r for (Triggering unit))
          • -------- --------------------------------------------------------------------------- INSERT ABILITIES HERE --------------------------------------------------------------------------- --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Ability being cast) Equal to |c000f1effArcane Profanityr
            • Then - Actions
              • Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm TempLoc4
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Ability being cast) Equal to |c0080bcfaLightning Strike|r
                • Then - Actions
                  • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TempLoc4
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Ability being cast) Equal to |c00ff1e28Fiery Wrath|r
                    • Then - Actions
                      • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Ability being cast) Equal to Freezing Spiral
                        • Then - Actions
                          • Unit - Order (Last created unit) to Night Elf Druid Of The Claw - Roar
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Ability being cast) Equal to Heat Ripple
                            • Then - Actions
                              • Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
                            • Else - Actions
          • -------- --------------------------------------------------------------------------- INSERT ABILITIES HERE --------------------------------------------------------------------------- --------
          • Custom script: call RemoveLocation (udg_TempLoc3)
          • Custom script: call RemoveLocation (udg_TempLoc4)
        • Else - Actions
 
You didnt add ability, and you didnt set level of ability for your unit: Eldin Sunstrider. Later you refering to those abilities. Also try to set this unit to variable insted useing 'last created unit'.

If still doenst work maybe try create 5 triggers insted of this 1. Everyone with main condition (Ability being cast) Equal to ...yourAbility.. and then check it out.

Zibi
 
Status
Not open for further replies.
Top