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

Hero Tower Pathing?

Status
Not open for further replies.
Level 10
Joined
Mar 23, 2007
Messages
261
Im just creating a very small TD.
The best tower is a hero tower. But i got some problems.
It don't show up a "Pathing Map" in the Object Editor, wich means i can't modify the pathing, and its avaible to build other towers at the same place.

I tryed to create one with path, that was not a hero. When it is completed, it will be replaced, and then another tower without a model file wuld be placed there for the pathing.
It doesn't work either. It replaces, but the pathing is not there at all.
Heres the Trigger:
  • Events
    • Unit - A unit Finishes Construction
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to "Hero(Build)"
  • Actions
    • Unit - Replace (Triggering unit) with a "Hero" using The new unit's max life and mana
    • Wait 0.10 seconds
    • Unit - Create 1 "HeroPath" for Player 1 (Red) at (Position of (Triggering unit)) facing Defalut building facing degrees
Now, can anyone rework this trigger, or create another one?
Thanks.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
thats because you removed triggering unit and put another unit
Triggering Unit Doesnt reffer that hero
my suggestion ?
hmm lemme think...
at start of trigger store position of triggering unit in a point variable,
then use that variable when creating pathing
 
Level 5
Joined
Sep 13, 2008
Messages
165
So you are trying to get a hero that is a tower. Like the Blizzard Tower Defense.
If so, go into object editor and look under unit hit points or mana points (Somewhere near there) for Is a Building - No, just change that variable to yes, and then if you scroll up you will find pathing map.
 
Level 10
Joined
Mar 23, 2007
Messages
261
So you are trying to get a hero that is a tower. Like the Blizzard Tower Defense.
If so, go into object editor and look under unit hit points or mana points (Somewhere near there) for Is a Building - No, just change that variable to yes, and then if you scroll up you will find pathing map.

If you saw my post, that button is gone.
(Otherwise i would not post this thread, duh)
 
Status
Not open for further replies.
Top