LuckyStrike
New Member
- Reaction score
- 1
Can a dummy cast custom made spells?. And if its true how?
Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
Can a dummy cast custom made spells?. And if its true how?
I still can't get it. I cant find my custom in the presets so how can i order a dummy to cast a spell that is not in the preset spells section?
Can i order the dummy to cast a spell in some other way than this example :
Trigger:
- Unit - Order (Last created unit) to Human Sorceress - Slow (Triggering unit)
Unit - Order (Last created unit) to Human Sorceress - Slow ((Target Unit) of ability being cast))
You will never find your custom spell listed in the "Unit - Issue Order X" because those spells are just the hard coded spells. When you create a custom spell you're basing it off a an already existing spells.
Example:
I create a custom ability based off of Slow (Human Sorceress) and I'm going to call it "Time Warp" now when I give this ability (Time Warp) to my dummy unit when I then order that dummy unit to cast my custom ability I choose the action
... and then the dummy unit will cast my custom Time Warp spell.Code:Unit - Order (Last created unit) to Human Sorceress - Slow ((Target Unit) of ability being cast))
Also, read this! http://www.thehelper.net/forums/showthread.php?t=52179&highlight=dummy
Example:
1.-I copy paste my Chain Lightning ability
2.-I rename it to MostAwesomeAbilityEver
3.-Now it deals 99999 dmg (who cares)
4.-Go to my trigger editor
5.-Create a trigger where
Event
A unit is attacked
Conditions
Random number between 1 and 100 less than 16
Actions
Create 1 dummy at position of attacked unit
Add MostAwesomeAbilityEver to last created unit
Order Last created unit to Orc - Chain Lightning Attaking unit
6.- OMFG the ability casted was the one i created!!
The dummy interprets the ordered ability as the one i modified.
Good luck