- Joined
- Nov 27, 2007
- Messages
- 85
I need to use this ability for AI.
Here's how I'm doing it:
IT DOESNT WORK! Just nothing happens.
I added "ward" to "Text - Order String - Use/Turn on" entry In Object Editor to this ability.
Base ability: Reveal (used in human arcane tower and in goblin shop).
Note: Reveal doesn't have any "turn on string" in Object Editor.
My guess - it's because of base Ability, Reveal. It doesnt have any "turn on string" (it's NONE). Could it be the reason?
What should I do? Is there any way to have AI use this ability?
I wish so much there was such a func:
Ability screenshot:
Here's how I'm doing it:
JASS:
call IssuePointOrderLoc(u, "ward", udg_TempPoint)
I added "ward" to "Text - Order String - Use/Turn on" entry In Object Editor to this ability.
Base ability: Reveal (used in human arcane tower and in goblin shop).
Note: Reveal doesn't have any "turn on string" in Object Editor.
My guess - it's because of base Ability, Reveal. It doesnt have any "turn on string" (it's NONE). Could it be the reason?
What should I do? Is there any way to have AI use this ability?
I wish so much there was such a func:
JASS:
native UnitUseAbility takes unit u, integer ability_id returns nothing
Ability screenshot:
