Dummy won't cast a spell

unska

New Member
Reaction score
1
Hey, the following code doesn't work. It is suppose to cast a Sentry Ward to a random point in a region.

Trigger:
  • Unit - Create 1 King Caster for Neutral Hostile at (Center of innerCenterArea <gen>) facing Default building facing degrees
    • Set kingCaster = (Last created unit)
    • Unit - Add Sentry Ward to kingCaster
    • Unit - Order kingCaster to Orc Witch Doctor - Sentry Ward (Random point in innerCenterArea <gen>)
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Has the spel 0 mana cost and do u want the dumy to be neatral hostile
 

unska

New Member
Reaction score
1
The spell has it's default mana cost but the dummy has 100000 mana. I want the dummy to be neutral hostile so it will target everyone.

The dummy "Is A Building" is that ok?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
No no building and make it nutral passive nutral hostile wil only heal other hostile creeps
 

unska

New Member
Reaction score
1
I got it working, thanks. But I can't seem to be able to cast custom spells with the following code:

Trigger:
  • Unit - Order kingCaster to Human Archmage - Blizzard (Random point in innerCenterArea <gen>)


There's only like 30 different spells on the list.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
if you want to cast a custom spell, just order your unit to cast that spell that your custom spell is based on
 

cowmenace

New Member
Reaction score
22
just make sure that the dummy has been given the spell. if you make a custom spell based off blizzard, then change it all around, you can still make the unit cast it using that action as long as it has the custom ability.

on a side note, look up leaks, your triggers could cause lag if they are not leakless
 

unska

New Member
Reaction score
1
I'm having problems casting the custom spells. The custom ones are not on this list, what to do?

wc3point.JPG
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Say ur custom spel is based of storm bolt then u order the dumy to storm bolt
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Dumys can only cast what they hav. So give then ur custom spel and order it what u based it of. K it works so do it ok test it if u dont believ me
 

Lucid Dream

New Member
Reaction score
1
on a related note - i can't get my dummy to cast rain of chaos. any help?

"special archimonde - rain of chaos" apparenltly isn't the right spell
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top