| 12-05-2002, 08:58 PM | #1 |
Guest | Is it possible to make units on my team but that I still can't control? The reason is, I'd like for the player to get the money and the score for their kills, but actually letting the player control where they go and what they attack would unbalance my map. Any ideas? |
| 12-05-2002, 09:26 PM | #2 |
Make them an ally of player, change the color of the allied to that player. and use triggers to coordinate thier attacks, as far as cash goes, make a trigger that takes the ammount of gold the allied player has and dumps it on the real player |
| 12-05-2002, 10:54 PM | #3 |
Guest | Well that's kinda how I'm doing it now, but it feels more like a hack than a solution. I was hoping for something cooler! |
| 12-05-2002, 11:47 PM | #4 |
Are you looking for something specific? I think thats the best way to do it. I don't really think there is anything "cooler" than that. You could just make them get deselected when the player clicks on them. |
| 12-06-2002, 12:19 AM | #5 |
hmmm ya ill need this too, these are good ideas... but i wish there was a better solution |
| 12-06-2002, 12:27 AM | #6 |
Guest | What the map I've made is an AOS style map. I'd like to add the ability for players to buy a barracks or arcane sanctum or whatever. If they did buy a barracks, for example, their side would produce more troops. As a reward for this, I'd like for the hero who made the purchase to get the gold from what they kill. Right now I just have it so the two teams can only purchase a single aviary. I take 2 player slots to be nothing but the bird team, and at regular intervals I transfer the money from the those players to whichever hero bought the aviary. It works pretty well but obviously it turns my 5v5 game into a 4v4 game because I have to reserve 2 CPU players per side instead of just one. |
| 12-06-2002, 12:48 AM | #7 |
Well, you could have the two cpu players instead be humans, and if no one joins to be the two cpu people, set them as CPUs (I think this is possible). That might be "cool". |
| 12-06-2002, 01:55 AM | #8 |
Guest | That wouldn't be either cool or "cool" I don't think. I guess the way I did it is best availible way. It's still not particularly groovy though. |
| 12-06-2002, 05:34 PM | #9 |
One solution would be to make another instance of the unit, and give orders to that. to prevent user from using these units, have every time they select a unit of this type, to deslect all units. Then you can just order these types of units with triggers. So if you want to have user footmen, and computer footmen, just make another instance of footmen, and make sure if the user selects comp type of footmen, to deselect all units. |
