• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Add ability when wisp Harvesting

Status
Not open for further replies.
Level 7
Joined
Jun 23, 2009
Messages
297
Here it is, you need 2 triggers, and to edit one ability:

  • Invisible Wisp 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to YourWisp
      • (Ability being cast) Equal to Gather (Wisp Gold and Lumber - Ancient Spirits)
    • Actions
      • Unit - Add YourInviAbility to (Triggering unit)
  • Invisible Wisp 2
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Wisp
      • (Ability being cast) Equal to Gather (Wisp Gold and Lumber - Ancient Spirits)
    • Actions
      • Unit - Remove YourInviAbility from (Triggering unit)

And you'd need to edit some invi ability in order to make it permanent.
 
Level 11
Joined
Nov 15, 2007
Messages
781
Here it is, you need 2 triggers, and to edit one ability:

  • Invisible Wisp 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to YourWisp
      • (Ability being cast) Equal to Gather (Wisp Gold and Lumber - Ancient Spirits)
    • Actions
      • Unit - Add YourInviAbility to (Triggering unit)
  • Invisible Wisp 2
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Wisp
      • (Ability being cast) Equal to Gather (Wisp Gold and Lumber - Ancient Spirits)
    • Actions
      • Unit - Remove YourInviAbility from (Triggering unit)

And you'd need to edit some invi ability in order to make it permanent.

Won't work. Would only trigger as an ability cast when you manually clicked on harvest and targeted a tree - most people will just right click the tree, which is an entirely different order string and doesn't trigger ability cast events.

I'll look into this later if nobody has solved it yet. Just getting the order string of harvest and having the invisibility added whenever the order string is executed won't work either, as it would add the invisibility as soon as you target a tree, even if the tree is on the other side of the map.

Permanent Invisibility ability doesn't mean Permanent Invisibility, this ability don't make your unt invisible while channeling. So, you might use the Ghost ability.

It should if you set the fade time to 0, which is the fade time of Ghost.
 
Status
Not open for further replies.
Top