• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Trigger don't work

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
  • Sharingan On
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Sharingan (based in Wind Walk)
          • (Ability being cast) Equal to Mangekyou Sharingan (based in Wind Walk)
    • Actions
      • Set SpellPoint[0] = (Position of (Casting unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Sharingan (based in Wind Walk)
        • Then - Actions
          • Unit - Create 1 Dummy Caster for Neutral Passive at SpellPoint[0] facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Set level of Sharingan (based in Bloodlust) for (Last created unit) to (Level of Sharingan (based in Wind Walk) for (Casting unit))
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
        • Else - Actions
          • Unit - Create 1 Dummy Caster for Neutral Passive at SpellPoint[0] facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Set level of Sharingan (based in Bloodlust) for (Last created unit) to 4
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
      • Custom script: call RemoveLocation(udg_SpellPoint[0])
It was to be a easy trigger, but for some reason don't work.
The dummy caster have sharingam (based in bloodlust) and I can see him ingame being summoned and vanishing, but he don't cast the ability on me...
 
Don't work correctly when set to the owner of casting unit...
Strange, I used the same orders as all my others dummy spells: "Air, Ground, Ward, Invulnerable, Vulnerable, Tree"

When trying to use only work after the second try, and you seem unable to disable it.

  • Sharingan On
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Sharingan (based in Wind Walk)
          • (Ability being cast) Equal to Mangekyou Sharingan (based in Wind Walk)
      • Or - Any (Conditions) are true
        • Conditions
          • ((Casting unit) has buff Sharingan (based in wind walk)) Equal to False
          • ((Casting unit) has buff Mangekyou Sharingan (based in wind walk)) Equal to False
    • Actions
      • Set SpellPoint[0] = (Position of (Casting unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Sharingan (based in Wind Walk)
        • Then - Actions
          • Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at SpellPoint[0] facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Set level of Sharingan (based in bloodlust) for (Last created unit) to (Level of Sharingan (based in Wind Walk) for (Casting unit))
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
        • Else - Actions
          • Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at SpellPoint[0] facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Set level of Sharingan (based in bloodlust) for (Last created unit) to 4
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
      • Custom script: call RemoveLocation(udg_SpellPoint[0])
  • Sharingan Off
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Sharingan (based in Wind Walk)
          • (Ability being cast) Equal to Mangekyou Sharingan (based in Wind Walk)
      • Or - Any (Conditions) are true
        • Conditions
          • ((Casting unit) has buff Sharingan (based in wind walk)) Equal to True
          • ((Casting unit) has buff Mangekyou Sharingan (based in wind walk)) Equal to True
    • Actions
      • Unit - Remove Sharingan (based in wind walk) buff from (Casting unit)
      • Unit - Remove Mangekyou Sharingan (based in wind walk) buff from (Casting unit)
 
Try changing the event to...
  • Unit - A unit Starts the effect of an ability
I think that is your main problem.
 
Try taking this out..
  • Or - Any (Conditions) are true
    • Conditions
    • (Ability being cast) Equal to Sharingan (based in Wind Walk)
    • (Ability being cast) Equal to Mangekyou Sharingan (based in Wind Walk)
  • Or - Any (Conditions) are true
    • Conditions
    • ((Casting unit) has buff Sharingan (based in wind walk)) Equal to False
    • ((Casting unit) has buff Mangekyou Sharingan (based in wind walk)) Equal to False
Just noticed a problem with takin all that out.. change the Else actions to this..

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to Mangekyou Sharingan (based in Wind Walk)
    • Then - Actions
      • Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at SpellPoint[0] facing Default building facing degrees
      • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
      • Unit - Set level of Sharingan (based in bloodlust) for (Last created unit) to 4
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Casting unit)
    • Else - Actions
      • Do Nothing
 
Taking that out will make me unable to deactived it lol...
Edit: Lol that will disable the trigger...

Edit2: I made it work, but for some reason some positions of the map don't allow the ability to be casted.
 
Last edited:
Status
Not open for further replies.
Back
Top