| 11-20-2007, 05:35 PM | #1 |
Ok so I have a creep with 3 different abilities. And I want him to use those abilities against heroes in a smart way. Is there some standard good way to do this? |
| 11-20-2007, 05:47 PM | #2 |
No easy way, I got a system thats a WiP that does exactly this though... Its very very complicated, you can see a demo of it if you want... http://wc3campaigns.net/pastebint.ph...bc5abb981d0386 |
| 11-20-2007, 06:13 PM | #3 |
Perhaps attaching AutocastDemo2Interface.j as well? |
| 11-20-2007, 06:58 PM | #4 |
The best way IMO is creating the custom abilities based on ones which have the respective AI behavior. For example, if you want to do an instant spell that will be activated when the unit is surrended by enemies, you should base it on War Stomp or Thunder Clap. and so on. If you put the abilities descriptions, I can suggest you what base abilities are the most appropriate to base on. |
| 11-20-2007, 10:02 PM | #5 |
Instead of giving each creep an AI trigger or timer, just make a timer for each hero that checks every 3 seconds(the possible delay will make it feel more random and organic) for nearby creeps that are in the "castercreeps" group. |
| 11-20-2007, 10:45 PM | #6 | |
Quote:
Really nice idea. |
