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

Spell Request

Status
Not open for further replies.
Whose units should become invisible? All of them on the map, or just in an area? For how long? Should there be a fade time?

Simplest would be:
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) equal to YourAbility
  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick all units in (units owned by (Owner of (triggering unit)) matching ((matching unit is a structure) equal to true) and do (Actions)
      • Loop - actions
        • Unit - Add (Permanent Invisibility) to (Picked unit)
 
I seem unable to make the triggers can u make a test map

This is a test map, the footman hold the ability to make all buildings invisible. one ability for the enemy, and one for the friendly.
The only problem is buildings will only look invisible to the enemy, but not you.
This is because buildings don't have transparency. You can set all the buildings into a unit to make it appear invisible to you, but that might mess up a lot of things in your map.
 

Attachments

Status
Not open for further replies.
Back
Top