Hello everybody,
when I change something into Left 2 Die map, anything, and I want to save the map, I always have the same error :
“Script failed to compile: Invalid parameter list (See Trigger Editor for more details)”
The error is about the line : “if ((PlayerType(lv_indexPlayer) == …”
// Actions
if (!runActions) {
return true;
}
auto701BE2A6_g = GameAttributePlayersForTeam(2);
lv_indexPlayer = -1;
while (true) {
lv_indexPlayer = PlayerGroupNextPlayer(auto701BE2A6_g, lv_indexPlayer);
if (lv_indexPlayer < 0) { break; }
if ((PlayerType(lv_indexPlayer) == c_playerTypeComputer) && (PlayerStatus(lv_indexPlayer) == c_playerStatusActive) && (auto01FEF78E_var != gv_p6_SCIENCE_FACILITY)) {
GameOver(lv_indexPlayer, c_gameOverDefeat, false, false);
}
}
GameOver(gv_p6_SCIENCE_FACILITY, c_gameOverVictory, true, false);
GameOver(gv_p1_USER, c_gameOverVictory, true, false);
GameOver(gv_p2_USER, c_gameOverVictory, true, false);
return true;
}
Do you know what to do ?
Thank you.