| 12-30-2006, 08:48 PM | #1 |
Where can I find a list of all string orders? In particular, I'm looking for that one issuing a unit to cast a channeling spell. I'm going to use it for a "if then else" action, with the condition "if the current order of the unit is channeling a spell then...." By the way, is there a better way to do it? thx in advance |
| 12-30-2006, 09:13 PM | #2 |
can you elaborate that a bit? whats the event for your trigger? what do you have before the if/then/else in the trigger? depending on what you're doing, this can actually suit you quite well: (Current order of Archmage 0000 <gen>) Equal to (Order(X)) X as in the orderstring for your ability, get it by check the field: Text - Order String - Use/Turn On there isnt any generic string you can use with this comparsion. another way is to detect when the unit casts an ability, store it in a variable and with some other triggers which detects when the spell ends set the variable's value to default again. |
| 12-30-2006, 09:43 PM | #3 |
It depends on the base ability not on the kind of ability, and the ability's entry in object editor actually has a field that tells you the orderstring |
| 12-31-2006, 07:09 AM | #4 | |
Quote:
Not for all. You will have to test directly in-game what you want, by doing actions that gets fired whenever an action (order) is done, displaying the orderId (Identification) and its name (GetIssuedOrderId(), OrderId2String(GetIssuedOrderId())) |
| 12-31-2006, 09:14 AM | #5 |
very thanks to all, i solved by using the order string of the ability in the object editor |
| 12-31-2006, 11:30 AM | #6 | |
Quote:
|
| 12-31-2006, 11:47 AM | #7 |
which I believe i said in my first post: Text - Order String - Use/Turn On |
| 12-31-2006, 01:13 PM | #8 |
The order string in the object editor is not always correct. Breath of frost, for example, has a different order string to the one stated. |
