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

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
800
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