| 05-07-2008, 04:41 PM | #1 |
I'm trying to script some boss fights into a already made creep spawn system. When the units are spawned, I simply set their acquisition range to 10,000 so they will use many spells w/o the need for triggering. For some bosses, I want them to execute a sequence of commands. It would be easier for me if I could temporarily disable the Creep AI somehow. I have already tried setting their acquisition range to 0, and yet they will ignore several of my commands, and attack enemy units. What can I do to make the boss basically stop trying to attack and still be able to give them commands. Thanks ahead of time. |
| 05-07-2008, 04:46 PM | #2 |
Neutral Hostile has some hard-coded stuff that you can't turn off. You could try making the bosses neutral victim or neutral extra instead (with appropriate alliance changes). |
| 05-07-2008, 04:55 PM | #3 |
I don't see how a big acquisition range improves how they use spells. I think you should try triggers, there is a very simple: wander - cast random spell, algorithm you shall try. |
| 05-07-2008, 10:16 PM | #4 |
I use a big acquisition range so that waves that are generic or have just 1 spell will attack and cast spells w/o triggers, such as giving a unit cripple and raise dead. It doesn't enhance the AI, it only gives me less work to do. I anticipated some problem w/scripted boss waves. I'll use both ideas and see which works best. |
