IZ129
  • IZ129
  • 51.5% (Neutral)
  • Private Topic Starter
18 years ago
Hello,

I am making a 1v1 multiplayer only (No AI) map for Zero Hour. I have already constructed a base around the player's starting points and was wondering how I could assign these buldings to the player as well as assign the buildings of the other base to the 2nd player. I also have made starting units that I also don't know how to assign to the player. The buildings and units for both players are USA constructs.

I was wondering if it was also possible to predesignate the 1st and 2nd player's armies to USA and their colors.
Sponsor
fleetatks
18 years ago
You Can't have either of those function in multiplayer, only single player (for some reasone EA left out player@position scripts&functions.) What you CAN do is make units and buildings able to be captured by sending an infantry unit into them, this is called making it unmanned.

Click on each unit or building you wish to make unmanned and give it a name inside the object property window  (Example: unit001)
Then go to Edit->Scripts and make a new script inside the folder "plyrcivilian" with these settings

If
'true'

Actions if true
(Make a new action and go to Unit->Status->Make unmanned)
"Make unit 'unit???' unmanned"

Click on 'unit???' and change it to the name of the unit, it should be in the list.
Copy the new actions and click Edit on the copyed action, and change the name of the unit. Repeat this until all the units have been made unmanned in the script.
(the reason you copy and edit it, is because it's faster then going to "new" each time.)
Email me if you ever need help (edited signature November 6th, 2014)
IZ129
  • IZ129
  • 51.5% (Neutral)
  • Private Topic Starter
18 years ago
Well it's a shame they don't have it in. I used to be able to in RA2.

Thanks for the help, lucky for me the choppers stayed on the ground.
Me Myself and Pi
18 years ago
What Fleetatks said isn't entirely true. You can have previesly owed buildings, but it only works for the host. Not the other human/skimrish players. Let me know & I'll tell you how to do it, it a simple matter of just tranferring the units & buildings to the host.