• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Help making spell] AoE Invis

Status
Not open for further replies.
Level 2
Joined
Jan 26, 2008
Messages
12
hello,

I am using WEU and can probably do this myself once i get a little help.

The spell works like this-

In a roar AoE (around caster) all units become invisible (not attacking and all) this includes the caster. It has 3 levels.

Thanks
 
Level 11
Joined
Dec 11, 2007
Messages
888
do how Da InF have said make a dummy invis and then make a new trigger. use Unit - A unit is attacked and if attacking unit has the specific buff order it to stop
or you can make it in another way -make a new spell based on silence and change attacks prevented- when dummy invis is created create another dummy with the silence based spell and order it to also cast silence
 
You could do it like this:
  • Mass Invi
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Roar
    • Actions
      • Set TempPoint = (Position of (Triggering unit))
      • Set TempGroup = (Units within 600.00 of TempPoint matching ((((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is alive) Equal to True))))
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Set TempPoint = (Position of (Picked unit))
          • Unit - Create 1 Peasant for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
          • Unit - Order (Last created unit) to Human Sorceress - Invisibility (Picked unit)
          • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempGroup)
 
Status
Not open for further replies.
Top