Thanks sundog, and you were right
And so was Uomoz over Skype. The code has been changed to:
StarSystemAPI system = Global.getSector().getStarSystem( "Anar" );
SectorEntityToken star = system.createToken( 0, 0 );
SectorEntityToken GDstation = system.addOrbitalStation(star,45, 9600, 150,"Raiding Outpost", "gedune");
GeduneSpawnPoint GDspawn = new GeduneSpawnPoint(Global.getSector(), system, 6, 8, GDstation );
system.addSpawnPoint( GDspawn );
for( int i = 0; i < 5; i++ ) GDspawn.spawnFleet();
Although now there's a new problem!
In the same script. Yikes. What I'm trying to do now is set up a convoy from one location to another. Now... this should be trivial, right? Well, I'm Hyph.
There is now this snippet of code in the same script:
StarSystemAPI systemD = Global.getSector().getStarSystem("Gedui");
systemD.addScript(new GeduneRaidConvoySpawnPoint( Global.getSector(), systemD, GDstation, systemD.getEntityByName("Multiplex")));
And it doesn't work, at all. It's supposed to send a convoy from the Raiding Outpost in Anar, to the Multiplex in Gedui.
Netbeans gives this error:
And you're very much welcome Sundog
EDIT:
Dark Revenant has helped fix this! The alarm is off now.