| 03-15-2007, 09:38 PM | #2 |
and bump PlZ!!!!! |
| 03-16-2007, 01:48 AM | #3 | |
Quote:
Then why dont you do that? |
| 03-16-2007, 07:35 AM | #4 |
because I also have neutral creeps and that causes them to chase you all over the map |
| 03-16-2007, 07:40 AM | #5 |
So write a custom creep camping AI. Check their position every 1 secont, and if its too far from their camp location, order them to move back to it. |
| 03-17-2007, 03:29 AM | #6 | |
Quote:
|
| 03-17-2007, 03:35 AM | #7 |
Make a region for each creep camp. Use the unit leaves region event to order the creeps back to their spawn site when they move out of the region. If you're worried about people abusing this you could make two regions for each camp. One big one and one small one. When a creep leaves the big one give it invulnerability and order it to move back to the spawn site. When it enters the little region, remove the invulnerability. |
| 03-17-2007, 07:16 AM | #8 | |
Quote:
True, but one could always make it much more complex. For example, have the creeps attack someone if they are being attacked. Maybe even institute camp groups so when one member of the camp is attacked, they all try to help out. But just a basic "if im being attacked, attack back" wouldnt be that hard to add to such a system. |
| 03-17-2007, 12:54 PM | #9 |
ok so i ne3ed an ai... um can anyone help with that I tried looking that the tutorials for AI making and well im completely confused to how I would make the creeps do that ^.^ |
