- Joined
- Mar 28, 2012
- Messages
- 259
How do I make an unit cast an custom spell/ability?
How do I make an unit cast an custom spell/ability?
How do I make an unit cast an custom spell/ability?
Just make a custom ability, look at the order-string id, then whatever is written there (example flamestrike) then make the unit cast Blood Mage- Flame Strike.
The order string doesn't affect how you order a unit to cast an ability. Base order id does.
For example if you change the order string of Carrion Swarm to flamestrike and order the unit to cast Flame Strike, the unit won't cast the ability. Ordering the unit to cast Carrion Swarm will make it cast the ability.
But yeah, if the order string isn't modified then that is a good cue on the base order id.
There are only a few abilities that allow modification of the base order id. Channel is the most useful one.
What is the custom script trigger??
What should I wrote??
Ups wrong grammer, my bad
I mean, what should I write on the custom script triggers??
I want the Cumputer / AI cast a spell with that custom script triggers function
Pleasee.... Help
Try this one:
It orders the Casting unit to cast Heal to the Traget of Ability Being Cast
- Custom script: call IssueTargetOrderBJ( GetSpellAbilityUnit(), "heal", GetSpellTargetUnit() )
Its just an example and I dont know if I am correct.
Avoid BJs.
You could also use IsuueTargetOrder and/or IssuePointOrder,
TQ
Where should I put spell ID?? And where I must put the casting unit?? And targeted units
Hehe
+ REPT
TQ
Where should I put spell ID?? And where I must put the casting unit?? And targeted units
Hehe
+ REPT
In GUI, it's just Originals spell on Blizzard :/ :/
That " Units - Issue Order to Target Unit " Triggers
How do I issue to cast custom spells??
Humm.... Humm....
Yes but for example you created an ability, go look for Its Order String - Use/Turn On and whatever ability it said, that IS what you are gonna use for the trigger. The trigger in the Issue is refering actually to the ID of the ability if youw ill not notice.
I don't get it Y.Y
Can you gave me the test map??
Ok, here is a test map. ^_^
My explanation is at my previous post.
TQ so much much we do
+ REPT