Marius
  • Marius
  • 59% (Neutral)
  • Private Topic Starter
17 years ago
Sorry for the noob question, but how do you disable certain units in certain maps, like make one map where you can't build any aircraft but not have that effect other maps?
Sponsor
Drummin
17 years ago
That can be done with a script. Be sure you've added the players to the map then go to the script writing area... Edit/Edit Scripts.

In the PlyrCivilian folder, click "New Script". Under the tab called "Actions if true", locate Map/Adjust the tech tree for a specific object type.

Where it has '???' is where you would specify the unit type. Click these question marks and locate the unit and change the parameter to no.

If you have more than one unit you wish to disable, copy this script line and adjust unit type. You should end up with something like this.

*** IF ***
    True.
*** THEN ***
  'AmericaJetRaptor' becomes Buildable (No)
  'AmericaJetStealthFighter' becomes Buildable (No)
Marius
  • Marius
  • 59% (Neutral)
  • Private Topic Starter
17 years ago