1. Is there any way to have a unit belong to player 1, but have player 2 be able to select the unit and view its abilities, but not issue orders? Sort of like a limited form of share control.
2. Suppose I want to have a 12 player map, but I also have extra units (the scenery). What is the best way to do this? Is there anyway to have units not owned by any player, like Neutral Hostile or something? Is there anything special I have to do in that case?
Unit ownership
Moderator: Cheaters
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Unit ownership
If you create neutral hostile units, they will attack both sides. However, if thats what your after yes, you can have basically more than 12 players.
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
-
- Senior Member
- Posts: 165
- Joined: February 25th, 2008, 2:56 am
- Title: Sir Awesome
Re: Unit ownership
You could remove the attack capability, couldn't you? You may still attack them, but you could go around that.
You could also take away the neutral hostile's unit's ability to move.
Then you could make a region around the unit and have it be like
"Any unit that enters region (region around neutral hostile unit) -> (remove ability to attack)"
However that works. Then when they leave region they can attack again, and you wont kill the evil units and they wont kill you.
I don't know if this helps at all, but I tried.
You could also take away the neutral hostile's unit's ability to move.
Then you could make a region around the unit and have it be like
"Any unit that enters region (region around neutral hostile unit) -> (remove ability to attack)"
However that works. Then when they leave region they can attack again, and you wont kill the evil units and they wont kill you.
I don't know if this helps at all, but I tried.
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Re: Unit ownership
If I give it the locust ability, will that prevent it from moving and attacking too?
These unit's are mainly intended to just act as scenery and decoration, so it's not terribly important whether you can select them or not.
These unit's are mainly intended to just act as scenery and decoration, so it's not terribly important whether you can select them or not.
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Unit ownership
No, locust ability just makes the units invulnerable and unselectable. They can still attack and move as they wish. If your just going to make units that are scenery why not just make them Neutral Passive? That way they wont attack anyone and nobody will be hostile towards them. And with a simple trigger, you can make it so that when a unit trys to attack them, that they stop beforehand, so you wont need to make them invulnerable.

-
- The Flying Cow!
- Posts: 2196
- Joined: November 2nd, 2007, 10:34 pm
- Location: Melbourne
Re: Unit ownership
Giving a unit Locust will essentially render them useless, if you are intending for another player to control them. They will still be able to move, though. So it's best to just make them invulnerable and pause them. Or, if you really want them to be able to be clicked and abilities viewed, just make a trigger to order the unit to stop whenever it does something.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
AutoCP3 now available for free!
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Re: Unit ownership
If I do Neutral Passive, would they just sit there, or would they wander around?
Also, the players aren't supposed to be able to click on them. I think I'll just go with locust + no attacks enabled + 0 movement speed or something.
Also, the players aren't supposed to be able to click on them. I think I'll just go with locust + no attacks enabled + 0 movement speed or something.
I assume you are talking about the first question here. The problem is that that wouldn't really work because it would also cancel the unit's previous orders as well.Ozzapoo wrote: Or, if you really want them to be able to be clicked and abilities viewed, just make a trigger to order the unit to stop whenever it does something.
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Unit ownership
If you make them neutral passive, they wont move around on their own, unless you give them the skill "Wander (Neutral)". To have scenery that would be the best bet. Make them neutral passive, and give them the Locust ability. If you do that, players wouldent be able to attack them, and neutral passive doesnt move own its own and wont attack anyone. And since locust makes them invulnerable, AOE skills wont damage em at all like they would without it. So you wouldent have to change a bunch of stats, and instead just add one ability.
