| 07-06-2007, 12:44 AM | #2 | |
Quote:
Remember you're issuing an order, not actually telling the caster to use X ability. So, you need to find the order string of your ability, which is the same as the ability you based it off of. So find the ability you based it off of in the list and use that. |
| 07-06-2007, 12:44 AM | #3 |
What ability? If it's a custom spell off of a base spell, say, Storm Bolt, then use Storm Bolt in the GUI thing. EDIT: Lol we posted at about the same time. |
| 07-06-2007, 12:49 AM | #4 |
It is based off of Healing Salve... Which is important, because it is dispelled upon attack. But I see nothing similar to it, unless you mean rejuvenation. |
| 07-06-2007, 01:07 AM | #5 |
I'm not sure if you can order units to use item abilities. I might be wrong though, someone will have to clarify. What you should do, is make a test trigger which detects when a unit is issued an order targeting another unit. Then, have it display the order string of the issued order to all players. Test the map and use your ability on a unit and see what order string comes up. If nothing comes up, you'll have to find a new ability, and if something does come up then you can use a line of custom script to do it. I'm pretty sure you won't find it in GUI though. |
| 07-06-2007, 01:08 AM | #6 |
Just find in object editor your spell data and search a line called Text - Order String - Use/Turn On (something) that something is the command/order that you need in issue order |
| 07-06-2007, 01:09 AM | #7 | |
Quote:
Healing Salve is an item ability, so that field will simply be set to None in the object editor. |
| 07-06-2007, 01:12 AM | #8 | |
Quote:
Change the order to something like Holy Light, and then issue an order for the unit to cast Holy Light. It doesn't take the physical spell, just the order string. *EDIT - Why don't you just use Rejuvenation? That has a field to do dispel-on-attack. |
| 07-06-2007, 01:19 AM | #9 | |
Quote:
why is that a problem he can put whatever command he likes .... he can put holy light to be the order string ... |
