HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[Question]: AI units replacement

05-10-2005, 09:04 AM#1
Escaper-Monkey
Hello everyone

I am a beginner at map making and there is much to learn, and now i came across a few questions.

How would i tell the AI to rebuild any units that are lost in the battle with the trigger? Say if there is a variety of units (footman, tank, priest) required a variety of buildings (barrack, workshop ect) to rebuild these. The buildings is pre-placed or spawned by triggers.
And would the AI smart enough to use the building with the empty queues? Like if there is 2 barracks.

Some help or advice would be really cool :)
My first thread here

Thanks in advance!
05-10-2005, 08:03 PM#2
johnfn
Quote:
How would i tell the AI to rebuild any units that are lost in the battle with the trigger? Say if there is a variety of units (footman, tank, priest) required a variety of buildings (barrack, workshop ect) to rebuild these. The buildings is pre-placed or spawned by triggers.

I'm almost positive that's what the AI does automatically.

Quote:
And would the AI smart enough to use the building with the empty queues? Like if there is 2 barracks.
Yes.
05-11-2005, 12:31 AM#3
Escaper-Monkey
Thanks for the replay

But im doubt the normal AI will actually replace all the dead units. Since on my map, the units are spawned by triggers at the start of each level. And I think that the AI wont kept the same units, it might start building something else.

I am not sure and im going to try it out today :) hope it works

Thanks in advance!
05-11-2005, 06:42 AM#4
Escaper-Monkey
Nope :( it didnt work

Sorry for not being clear at the first place, the units and buildings are pre-placed by triggers and all i want is an AI that only defend the town and rebuild any units that are lost.

Thanks in advance!