- Joined
- Jun 13, 2008
- Messages
- 132
Hi there. I'm making a map and buildings spawn units for each player and they get orders to move to the objective, now the problem is, I don't want players to be able to issue orders to them, please don't suggest me add to add "WARD" or "LOCUST" classification.
I did a trigger to make them ignore player orders when they get a command, "a generic unit is given an order to a point", "a generic unit is given an order to an unit" and "a generic unit is given an order to an object", this works but the problem is that they ignore even their own orders, I mean, the artificial intelligence I've made, a good example would be that they aren't able to just use the "heal" spell because when they use the "heal" spell, an order to move to the point is given like if the player gave the order, but, there isn't a condition to check if the order was given by the player. I need your help please.
I did a trigger to make them ignore player orders when they get a command, "a generic unit is given an order to a point", "a generic unit is given an order to an unit" and "a generic unit is given an order to an object", this works but the problem is that they ignore even their own orders, I mean, the artificial intelligence I've made, a good example would be that they aren't able to just use the "heal" spell because when they use the "heal" spell, an order to move to the point is given like if the player gave the order, but, there isn't a condition to check if the order was given by the player. I need your help please.