Re: Update - 2004.06.15
Where does the time go?!
Originally posted by J Bytheway
It's been nearly a month
It's been nearly a month
Where does the time go?!
Where does the time go?!
But as I now got an error message concerning argument type mismatch I could track the problem down to a database access problem. I tried to put the advance into a global variable and tested it using a message box - voilà:GrantAdvance(iwwPlayer, VIS_VisiStuffAdvance);
int_t VIS_VisiStuffAdvance
HandleEvent(BeginTurn) 'SetupEveryTurnPre' pre {
VIS_VisiStuffAdvance = AdvanceDB(ADVANCE_SUBNEURAL_ADS);
Message(1, 'GeneralGamestatsMsg');
}
messagebox 'GeneralGamestatsMsg' {
Text(ID_GENERAL_GAME);
}
GENERAL_GAME "Visi: {VIS_VisiStuffAdvance}"
Event:CreateBuilding(popCity, BuildingDB(IMPROVE_GERM_THEORY));
. But this is just a feeling and probably related to something completely different. Anyway - it might be useful to take a look into HasAdvance(), too.

if(HasGood(someLoc)) {
it's fine;
}
.
you would have thought they would have called a function that returned the database index of the good WhatGood or WhichGood. One would logically assume HasGood would return True/False 0/1.
you would have thought they would have called a function that returned the database index of the good WhatGood or WhichGood. One would logically assume HasGood would return True/False 0/1. VIS_CapitolBuilding = BuildingDB(IMPROVE_CAPITOL);
).
Comment