HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Enemy Detector

09-23-2006, 08:19 PM#1
[VDM]Amn
I'm trying to make a ward that detects enemy heroes. the ability Phoenix Fire works fine, is exactly what i want, but it needs to see the unit to attack, and it's not the idea.
Any ideas?
09-23-2006, 08:40 PM#2
Omega-Prime
Make the Ward a summoned unit. Detect with triggers whenever a Hero that doesn't belong to the owner of the ward enters its detection range, and make the game ping the location of the ward to its owner. I think that should work :)
09-23-2006, 10:23 PM#3
The_AwaKening
Are you saying make the ward attack with phoenix fire? Just use serpant ward and and change some settings.

Go to the unit section in object editor. Go to melee/orc/special. You will find the 3 levels of serpant wards in there. You can either copy them and rename ( you will have to change the summoned units in the serpant ward ability ), or just edit the ones already there. Go down to
Combat Attack 1 - Projectile Art
and change it to Phoenix
You can also go down to target options and change those. You can change the Model to whatever ward you want it to look like. If you want it to ping the location, then it would have to be triggered.

Assuming this is what you are asking for.
09-23-2006, 11:38 PM#4
[VDM]Amn
Quote:
Originally Posted by The_AwaKening
Assuming this is what you are asking for.
it's not.
the ward must not do dmg nor show enemy's position, just an effect aiming to 'em.
09-24-2006, 12:32 AM#5
Mystic Prophet
set the ward to a temporary variable when it is placed. (will probably need an array) then have another trigger that detects when a unit comes within range of the ward. and inform the owner.
09-24-2006, 08:31 PM#6
[VDM]Amn
Quote:
Originally Posted by Mystic Prophet
set the ward to a temporary variable when it is placed. (will probably need an array) then have another trigger that detects when a unit comes within range of the ward. and inform the owner.
read again, detection is not the problem.
i just need an ability able to get a target under the fog, saving some time not doing some code.