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

Visibility modifer help

Status
Not open for further replies.
Level 4
Joined
Nov 24, 2004
Messages
70
Alright my question is a quick one. Im trying to make a unit that acts somewhat of a radar jammer that sorta thing. Anyways I selected a wagon as my unit of choice for this trigger, and what i want it to do is when I train this unit I want it to create an intially enabled visibility modifer that will emitt black mask at the position of the wagon (trained unit) witha radius of like 500 or more for the enemies, so all they see if a big black circle. Anyways I did this:

Radar Jammer
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to Wagon
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Player((Integer A))) emitting Black mask from (Position of (Trained unit)) to a radius of 2000.00


Anyways I did player((int a)) because well it wont really bother me cuz its my unit no matter what i'll still see whats within the circle :D but i've tested this with someone else and it doesn't work it does not create a black mask circle... my only reason for this not working is because i made the centre of my map visible with a region modifer. Help with this plz, maybe my trigger is crap i dont know lol
 
Status
Not open for further replies.
Top