• 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] help with spell

Status
Not open for further replies.
Level 10
Joined
Jun 1, 2008
Messages
485
hey, i'm making a spell, chain channeling spell, but not all trigger was function properly, can u please help me with this trigger?
  • Action
  • Unit - Create 1 Dummy Unit for (Owner of Caster) at Shackles_Point facing Default building facing (270.0) degrees
  • Unit - Add Dummy shackles to (Last created unit)
  • Unit - Set level of Dummy shackles for (Last created unit) to (Level of Chain Shackles for Caster)
  • Set Chain_Missile = (Last created unit)
  • Unit Group - Add Chain_Missile to Chain_group
  • Unit - Order Chain_Missile to Human Dragonhawk Rider - Aerial Shackles Shackles_Target
  • Unit - Add a (Real(cs_int)) second Generic expiration timer to (Last created unit)
i want when the spell end, all dummy unit ws removed, but the dummy unit didn't channeling the spell at all, what wrong with this? can u please help me?
i attached the map as well.
 

Attachments

  • Spell Chain Shackle.w3x
    48.8 KB · Views: 42
Level 6
Joined
Dec 28, 2007
Messages
178
when created immediately set the dummy unit to Chain_Missile variable and use this, not the (last created unit) in your actions /like: Unit - Add Dummy shackles to Chain_Missile/.
 
Level 10
Joined
Jun 1, 2008
Messages
485
when created immediately set the dummy unit to Chain_Missile variable and use this, not the (last created unit) in your actions /like: Unit - Add Dummy shackles to Chain_Missile/.
I'm already try that, but this is happen:
the dummy cast spell correctly, but they didn't channel that. after about 3 second, the dummy stop channel the spell.
 
Last edited:
Level 8
Joined
Jul 22, 2008
Messages
331
Here it is

Mage, I fixed your problem.
The thing is you need unit which has channel
animation. There is no other way to make unit to
use any channeling ability...
Sorry for keeping you waiting...
Although you have another problem now.
Your dummy units aren't stoping to channel if
you interupt it. I worked little on that but I'm
preoqupied with work...
And one advice:
Try to simplify your triggers a bit.
example: if you already added chain shackle to your
dummy unit in Object Editor you don't need to add it
again with triggers, and as you've created a variable
us it. Example: you created a variable chain_misile and
defined it as your dummy unit. when you have some trigger
your dummy unit use a variable and not (last created unit)

And once again: Sorry for waiting...
I did what i could and what I had time for...
 
Last edited:
Status
Not open for further replies.
Top