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

Fire-Spells in TD

Status
Not open for further replies.
Level 5
Joined
Aug 3, 2005
Messages
150
For questions like these you can check out the new Skibi TD from Blizzard, since it is unprotected.

First you give a tower the spell and mana. Make sure it has an attack and that you remember the order string to activate the spell.

Next, before making the actual trigger, create a point type variable with no initial value. Let's call it location.

For example, let's use a tower called Fire Tower that has a flamestrike-based spell, and that the enemy units belong to player 12.

Events: Unit - A unit owned by player 12 (Brown) Is attacked

Conditions: (Unit-type of (Attacking unit)) Equal to Fire Tower

Actions: Set location = (Position of (Attacked unit))
Unit - Order (Attacking unit) to Human Blood Mage - Flame Strike location
Custom script: call RemoveLocation( udg_TempPoint )

Just give credit to Skibi if you use this kind of trigger.
 
Level 2
Joined
Aug 5, 2005
Messages
20
It wasn't the autocasts what i meant to ask, but i found a better soloution... I'LL give my Firetowers other attacks...My Question was:

Wenn i have an attack, which attacks all units in a cyrcle. How can I do that, that the spell only attacks the enemies...
 
Status
Not open for further replies.
Top