Okay, I got a new problem. I compile my Mission DLL and run it. I get the following messages:
"Coundn't resolve data reference BulidStandardLab in mission script"
"Coundn't resolve data reference BulidStandardLab in mission script"
Here is the related code:
scriptGlobal.StanLab = CreateResearchTrigger(1 , 1, 2708, 1, "BuildStandardLab");
scriptGlobal.Garage = CreateResearchTrigger(1 , 1, 5202, 1, "BuildGarage");
SCRIPT_API void BulidStandardLab()
{
scriptGlobal.Build1.RecordBuilding(LOCATION(12-1, 39-1), mapStandardLab, mapNone);
scriptGlobal.Tuber1.RecordTube(LOCATION(15-1, 39-1));
scriptGlobal.StanLab.Destroy();
}
SCRIPT_API void BulidGarage()
{
scriptGlobal.Build1.RecordBuilding(LOCATION(12-1, 52-1), mapGarage, mapNone);
scriptGlobal.Garage.Destroy();
}
There are no compile errors (duh) and the research triggers are in the InitProc function and the two SCRIPT_APIs are there own. What is wrong?