HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question: AI - Recycle unit guard position

04-20-2003, 08:23 AM#1
SyDemon
I'm sorry if this sounds lame but what does this trigger do exactly?
04-21-2003, 07:32 AM#2
KaTTaNa
I don't think this belongs to the AI/JASS vault.

Anyways, my guess is that after you have used the fine trigger AI - Ignore unit guard position and then use the one you mentioned it will start using it's old guard position again.

A guard position is the point a unit always will return to after chasing another unit.
04-21-2003, 08:20 AM#3
SyDemon
I'm very new to these set of triggers, having never used them before. Can you explain a scenario where they are used?

Will every unit in the game (that has an attack) be set as guarding when they have stopped moving? If so, does the guard location apply to the location they have stopped in?

I'm in the process of making a melee map which replenishes the dead creeps in their own original spots. Are those spots considered guard locations?
04-21-2003, 03:26 PM#4
KaTTaNa
You don't need the guard location triggers for that.

A unit's gaurd location is it's "home" so to say. When it is too far away from its home it will turn away and head home again. I think this is only used for creeps but as I said you don't need to use them for your map.
04-22-2003, 03:46 AM#5
SyDemon
Thanks for your help.
04-22-2003, 06:05 AM#6
Spectralist
Quote:
Originally posted by KaTTaNa
You don't need the guard location triggers for that.

A unit's gaurd location is it's "home" so to say. When it is too far away from its home it will turn away and head home again. I think this is only used for creeps but as I said you don't need to use them for your map.


no its used for all units. However player owned units get a new guard position everytime you give them an order , this doesn't work for triggered orders only for player orders - er at least the gui trigger orders don't give new guard positions. I dont know enough about jass or ai to say anything on that end.