|
|
楼主 |
发表于 2025-10-30 19:05:12
|
显示全部楼层
失败,还是不行更改后的代码是
// Druj Relay - L5 (behind)
//SectorEntityToken druj_relay = system.addCustomEntity("druj_relay", // unique id
// "Druj Relay", // name - if null, defaultName from custom_entities.json will be used
// "comm_relay", // type of object, defined in custom_entities.json
// "pirates"); // faction
//druj_relay.setCircularOrbitPointingDown( duzahk_star, 130 - 60, 4200, 135);
SectorEntityToken druj_stable1 = system.addCustomEntity(null, null, "sensor_array", "pirates");
druj_stable1.setCircularOrbitPointingDown( duzahk_star, 130 - 60, 4200, 135);
SectorEntityToken druj_stable2 = system.addCustomEntity(null, null, "core_comm_relay", "neutral");
druj_stable2.setCircularOrbitPointingDown( duzahk_star, 130 + 60, 4200, 135);
SectorEntityToken druj_stable3 = system.addCustomEntity(null, null, "nav_buoy", "neutral");
druj_stable3.setCircularOrbitPointingDown( duzahk_star, 130, 4200, 135); |
|