HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Order Strings

09-21-2003, 08:19 AM#1
Fmacgt
How can I import my own string for the Order String in Unit Editor?
09-21-2003, 08:40 AM#2
Kerry
If you mean for a spell you can't at all, you can't even change the string to the predefined ones even though you can in the unit editor. I think this has been classed as a bug and blizzard will hopefully deal with this 'in a future patch'.
09-21-2003, 11:07 AM#3
AIAndy
The only way they will probably deal with it is removing it from the unit editor.
You can use the order strings of the abilities you derived yours from.
Another possibility is to give orders ById (JASS only). That means you give the 4-letter-code of your ability (in ' ').
Example:
call IssueImmediateOrderById(u, 851976)

That is cancel (there is no order string for it and I don't know the actual 4-letter-code)

If your ability has the 4-letter-code Amoa then
call IssueImmediateOrderById(u, 'Amoa')
will order unit u to cast it without a target.