• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to make AoE visible only to allies

Status
Not open for further replies.
Level 5
Joined
Aug 8, 2008
Messages
113
How to make AoE visible only to allies & place aoes that can be manipulated

could someone code this for me, please? OR tell me how to?

additionally would it be possible to make the aoe visible to allies but not enemies?

basically its a hero where you place an aoe down and you have dummy skills that activate different spells within the aoe. One aoe is attached to the ground another is attached to a unit (pic below shows what I mean)
 
Last edited:
Can you give more info and I don't think you can make something visible for allies but not enemies if it is a spell animation
 
Can you give more info and I don't think you can make something visible for allies but not enemies if it is a spell animation

00example.png
 
Requires custom script.

  • Trigger
    • Events
    • Conditions
    • Actions
      • Set EffectPath = "Abilities\Human\Arcane\Arcane.mdx"
      • Set Player = (Triggering player) // The player whose allies can see it
      • Custom script: if not IsPlayerAlly(GetLocalPlayer(), udg_Player) then
      • Set EffectPath = ""
      • Custom script: endif
      • Special Effect - Create...
      • Special Effect - Destroy (Last created special effect)
 
thx, for telling me also, I needed to know how to code the spells in the stick figure comic.... I have a vague idea of making the aoe a summonable but after that I have no idea.
 
Create a unit which looks like a circle or circular affect i.e an aura. Then change it so summon bear summons the circle or w/e summon abil u wanna base it of. Spirit wolf works too. Or maybe Item place mine might work... And your done

As long as you give the unit which is summoned the abillity Fire. Or better if you want it to be castable from your hero.

Use a trigger and a dummy spell.
Event Abillity cast
Action
If abillity=Summon circle
Then Create 1 Cricle at cast point
Add circle to unit group (Circles[playernumberofownerofcastingunit]
Else if abillity = Explode
Then Pick all units in unit group unitgroup[playernumberofownerofcastingunit]
order picked unit to cast explode.
 
Status
Not open for further replies.
Back
Top