Sorry for hijacking this topic but it is related.
Where do I find the function that decides whether or not the Ebon Hawk is reaching destination or being met by enemy fighters in space?
I kind of like the "NO_Fighters" mod but perhaps it is a bit extreme and I'd rather tweak the odds (originally, way too high).
Anyone who knows?
Thanks!
EDIT: I think I found it.
void sub14() {
sub8(" Start: ST_PlayPlanetToPlanet()");
int nRandom = d100(1);
if ((sub15() == 1)) {
if ((nRandom > 50)) {
sub8(" Start: Random Mini-Game Attack");
SetGlobalBoolean("K_RANDOM_MINI_GAME", 1);
StartNewModule("m12ab", "", sub9(), "11a", "", "", "", "");
}
else {
StartNewModule("ebo_m12aa", "", sub9(), "08", sub16(), "", "", "");
SetGlobalNumber("K_CURRENT_PLANET", GetGlobalNumber("K_FUTURE_PLANET"));
}
}
else {
sub17();
}
}