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

[Trigger] Building-spell problem

Status
Not open for further replies.
Level 3
Joined
Jun 14, 2007
Messages
33
How can I make a building automatically cast a spell without the spell being in it's Box thing (The thing that holds the actions... Attack, Stop, Hold Position, Patrol, Move... that box)? I saw it once before... I just forgot WHERE and now I need it.
Any help please?
 
Last edited:
Level 4
Joined
Feb 4, 2008
Messages
82
Well you can change a unit's model into the building you want then you make a dummy unit, then you can make an event once it initiates the dummy unit is created at the targeted unit position and it casts the spell but remember to make that unit static i.e run speed is 0 and max speed is 0 and so forth.

But in that case since there is no spell associated with the unit you will need to trigger both the effect of the spell on the targeted unit and the special effects too.

If you would provide an example of the events/actions you want i would try create the trigger for you next time i am online..

(that is what i understood from your explanation though)
 
Level 3
Joined
Jun 14, 2007
Messages
33
Umm, ok...
So...
That's the problem, I wouldn't know the trigger...
I'm gonna guess it'd be something like...
  • Lightning Tower
  • Events-
  • Unit - A unit is attacked
  • Conditions-
  • Unit-type of (Attacked unit) Equal to Lightning Tower
  • Actions-
  • Unit - Order (Attacked unit) to Orc Far Seer - Chain Lightning (Attacking unit)
I Tried this, and it doesn't work...
I also tried it:
  • Lightning Tower
  • Events-
  • Unit - A unit begins channeling ability
  • Conditions-
  • Unit-type of (Casting unit) Equal to (Lightning Tower)
  • Actions-
  • Unit - Order (Casting unit) to Orc Far Seer - Chain lightning (Random unit from (Units owned by Player 12 (Brown)))
But I'm not getting anything, is it because the Tower doesn't have Chain Lightning? and if I need chain lightning on the tower, how do I make it so it can auto-cast the spell?
 
Status
Not open for further replies.
Top