• 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.

[Solved] Regarding the 'Channel' ability's order string.

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
The Order String stuff is really only there as a reference and changing it should have no effect (so why can we change it? I don't know).

Base Order ID let's you change the Order that the ability uses which is pretty powerful. With this you could create 100 abilities based on Channel, give them each a unique order id, and then add all of these abilities to a single unit, and that unit will be able to cast any of these abilities without any issues.

What issues you might ask? As you may already know if your unit has 2+ abilities with the same Order Id then it will struggle to cast the correct one as you are basically telling it to do 2+ things at once which is impossible.

A few other abilities have this Base Order Id option as well such as Charge Gold and Lumber and I believe Spellbook.
 
Last edited:
It is important to note that if the ability of the Base Order ID has a different targeting type than the Channel ability you're creating, it can lead to problems. For example, if you make a Channel ability with Target Type "unit", you should not use "thunderclap" as the Base Order ID, because it has no target.
 
Level 28
Joined
Nov 25, 2021
Messages
507
If I set the Base Order ID, will the A.I know how to use it?

For example, a Computer player will automatically use Inner Fire in combat. If I set the Base Order ID of an ability based on Channel to "innerfire", will it try to use the ability the same way?
 
Yes, the base order ID impacts how the AI will use it. I ran into the opposite problem, where the AI was using spells when I didn't want it to, and changing the base order ID fixed that.
I have been told this is not correct. I based this only on my own testing, but I may have messed up somewhere.
 
Status
Not open for further replies.
Top