Author Topic: Structure Kits  (Read 1456 times)

Offline Freeza-CII

  • Administrator
  • Hero Member
  • *****
  • Posts: 2308
Structure Kits
« on: May 01, 2005, 01:39:53 AM »
How does ones get structure kits in the SF at the start of the game Depending on the level high med or low.

Offline Eddy-B

  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Structure Kits
« Reply #1 on: May 01, 2005, 04:14:38 AM »
You can do this by using Unit::SetFactoryCargo
An example:
Code: [Select]
if (Player[0].Difficulty()==0)
{
  factory.SetFactoryCargo(0,mapAgridome,mapNone);
}
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz