HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make towers use abilities

03-20-2007, 04:53 AM#1
djdeth
I was curious on how to make a tower use an ability automatically? We will use for example a slow ability. I was curious how this would work with an ability, I could think of how to do it with a trigger. If unit gets by this tower and is player 12, then slow him. Thanks
03-20-2007, 05:05 AM#2
Pyrogasm
...add said ability to the tower?



Don't be offended

The ineptitude of these people scares me.

03-20-2007, 11:03 AM#3
Earth-Fury
Pyro, its ither that, or the fact that abilitys dont autocast in a TD-like setting. In which case, you have to trigger the ability. Most TDs do it by detecting the tower attacking and making it use the ability on the creep its attacking.
03-20-2007, 05:08 PM#4
djdeth
They are not auto casting at the moment, is there a trigger to set that up?
03-20-2007, 05:41 PM#5
Jacek
just add Slow Poison to towers and you are set
03-20-2007, 05:53 PM#6
Captain Griffen
Or use an orb-ability.

To fully emulate auto-cast you would need triggers though, as auto-cast only works when being attacked.
03-20-2007, 06:46 PM#7
Jacek
never tried it, but what about Enemy-targetable Heal?
03-20-2007, 06:59 PM#8
Hydrolisk
Enemy-Targetable Heal eh? Well, I've actually used that idea for a substitute for an attack and let me tell you: Only use it when you MUST.

Here are some problems: It will NOT auto-cast EVER, It displays the "Heal cannot target full-health targets" and will not activate when cast on a full-health target, and is just sucks anyways.
03-21-2007, 04:37 AM#9
Av3n
... They was a tut at hive... about this

-Av3n
03-22-2007, 08:10 PM#10
Castlemaster
The trigger for "autocast" is very simple, just make the even periodic (0.5-1 seconds) and issue an order to all units of a unit type to (whatever the spell is based on) target unit. The tricky part is making the tower know when an enemy is nearby (unless your ability does not target a unit at all). This can be accomplished with a "pick all units in range matching condition" action. Play around with it and you'll see.
03-23-2007, 01:01 AM#11
st33m
What the fuck, just use item orb ability.