theroretically this will fix the warnings about space_npe_falcon_area.iff

This commit is contained in:
DarthArgus
2016-01-31 01:06:51 -06:00
parent 1ff6e1d9bc
commit f9ff9dd727
@@ -7413,18 +7413,30 @@ public class utils extends script.base_script
}
public static dictionary getCoordinatesInBuildoutRow(String scene, int buildout_row) throws InterruptedException
{
if (scene == "space_npe_falcon") {
return NULL;
}
String datatable = "datatables/buildout/areas_" + scene + ".iff";
dictionary data = dataTableGetRow(datatable, buildout_row);
return data;
}
public static obj_id[] getPlayersInBuildoutRow(String scene, int buildout_row) throws InterruptedException
{
if (scene == "space_npe_falcon") {
return NULL;
}
String datatable = "datatables/buildout/areas_" + scene + ".iff";
dictionary data = dataTableGetRow(datatable, buildout_row);
return getPlayersInBuildoutDimensions(scene, data.getFloat("x1"), data.getFloat("x2"), data.getFloat("z1"), data.getFloat("z2"));
}
public static obj_id[] getPlayersInBuildoutArea(String scene, String buildout_area) throws InterruptedException
{
if (scene == "space_npe_falcon") {
return NULL;
}
String datatable = "datatables/buildout/areas_" + scene + ".iff";
int rowNum = dataTableSearchColumnForString(buildout_area, 0, datatable);
if (rowNum == -1)