So I found a command to spawn an Inactive Gate, but it's orbit is incredibly fast, much faster than anything in vanilla. I don't see in the syntax where it defines the speed, is that an optional field or am I just missing something?
runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); if (star != null) { $loc.addCustomEntity(null, null, "inactive_gate", "neutral").setCircularOrbitPointingDown(star, VectorUtils.getAngle(star.getLocation(), $playerFleet.getLocation()), MathUtils.getDistance(star.getLocation(), $playerFleet.getLocation()), 180f); }
In the same vein, is there also a way to spawn it so that it orbits another object, like a gas giant? That's more a question for spawning things in general, not specifically just gates.
Also, is there a place where all of the syntax for these more complex runcode commands lives? I'd love to be able to look it up myself in the future.