• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] Ordering unit to cast a spell...

Status
Not open for further replies.
Level 8
Joined
Sep 24, 2007
Messages
300
I tried all these actions: Point, Unit, No target etc, but the problem is, that my custom spell does not appear in the Preset spell list.

I tried second option, converting string, but it doesn't work.

Please help, I want unit to cast a spell (but this spell is not found on the preset list).


  • Action: Order (Picked unit) to ??????????????????????
 
Level 22
Joined
Feb 26, 2008
Messages
891
Your custom ability will never appear in the Preset list.
So, what you do, is you order your unit to cast the ability off of which you based your custom ability.
If you used Slow as your base ability, then order the unit to cast slow.
 
Level 6
Joined
Feb 12, 2008
Messages
207
change the Order String, its all about Order Strings... for example you should have any based custom ability, but in the "Data - Order String ID" or something like that... change it to the base of any preset ability... for example: for tauren stomp, in order string it should have "warstomp" or something like that... im sorry i cant give you exact examples, as im not at home. i could give you a map as example later..
 
Level 22
Joined
Feb 26, 2008
Messages
891
> Data - Order String ID

Are you thinking of Text - Order String?
Because there are only a few abilities that allow you to change the actual Order ID. Two of those are Channel and Charge Gold and Lumber.
Changing the Text - Order String actually does nothing - it's just there for reference.
 
Level 6
Joined
Feb 12, 2008
Messages
207
Text - Order String - Use/Turn On
and its changeable for any ability. Just change it to (for example) "firebolt", and then use:
  • Unit - Order (Attacking unit) to Neutral - Firebolt (Attacked Unit)
 
Level 22
Joined
Feb 26, 2008
Messages
891
> Just change it to (for example) "firebolt", and then use:

That won't do anything. The Text - Order String does not actually change the Order ID of the ability. You can change the Order String to whatever you want, but nothing will happen.
Ordering a unit to cast Firebolt won't get it to cast a custom ability when all you've done is change the Order String.

You order the unit to cast the ability off of which you based your custom ability.
 
Level 3
Joined
Jan 31, 2008
Messages
66
ooh i have the same problem as u, i use the skill channel as my base ability, and i changed the order id to frostnova, but when i order the dummy unit to do -undead lich-frost nova on the targeted opponent, it doesn't even cast... can i know why? :grin:
 
Status
Not open for further replies.
Top