| 08-25-2007, 04:25 PM | #1 |
Is there a thread that contains detailed inforation on Order Strings, like how to use them, what they are; I tried searching but i can't find the details that I need. Thanks for any help! |
| 08-25-2007, 04:31 PM | #2 |
What do you want to know? |
| 08-25-2007, 04:45 PM | #3 |
What they are and how I can use them. I've seen a tut on helper.net but it's just a brief explanation on how to use them. |
| 08-25-2007, 05:04 PM | #4 |
Order strings are just, well, orders :). Each order string corresponds to an integer, which is a unique order. You use the functions "IssueXXOrder" to tell units to do stuff, and each of them take an order string. There's the basic ones like "move", "attack", "smart" (right click), etc. Each base spell also has an order id, like Storm Bolt is "thunderbolt", Banish is "banish", etc. You can find those in the field "Text - Order String - Use/Turn On" in the ability editor. Also note that your custom spells will have the same order id as the spell you based them on. Channel allows you to change the order string to any other order string, which is one reason why it is so useful for triggered spells. I don't really think there's much to know about them, they're simply strings that represent orders which can be given to units. |
| 08-25-2007, 05:15 PM | #5 |
So if i remove it from an ability I wouldn't be able to call it using triggers? Thanks for the info man + rep! |
| 08-25-2007, 05:19 PM | #6 |
Actually, changing the field "Text - Order String - Use/Turn On" doesn't do anything. You can only change it on Channel, under the field "Level X - Data - Base Order ID". |
| 08-25-2007, 08:29 PM | #7 |
You can also change it on "Charge Gold and Lumber", I believe. |
| 08-25-2007, 09:23 PM | #8 |
And Spellbook, but I may be wrong. |
| 08-25-2007, 09:45 PM | #9 |
Channel, Spell Book and "Charge Gold and Lumber" have changeable order strings. Just clarifying, but this means I could have 5 triggered abilities on 1 unit and all have them based off Channel as long as they have different set strings? |
| 08-25-2007, 09:46 PM | #10 |
I believe so, yes. |
| 08-26-2007, 08:32 AM | #11 |
I found out trough trial & error that if I put 2 abilities having the same, orders strings, will cause warcraft to crash. Does this mean i can't put 2 same abilities with same order strings on a single hero/ unit? Thanks for the info guys! |
| 08-26-2007, 09:00 AM | #12 |
If you try to put two abilities with the same order string on a hero, the hero will attempt to use both when ordered to cast either one. But it shouldn't make the World Editor crash... |
| 08-26-2007, 09:08 AM | #13 |
Lol, I remembered that i created a trigger for the unit, It was the trigger that made Warcraft crash. EDIT: I wasn't talking about WE, I was pertaining to in-game warcraft. |
