Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Re: Planet types  (Read 572 times)

Zdubfreelancer

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: Planet types
« on: October 06, 2023, 12:24:38 PM »

runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); $loc.addPlanet("cc_gasgiant", star, "Gas_Giant", "Gas Giant", VectorUtils.getAngle(star.getLocation(), $playerLoc), 250, MathUtils.getDistance(star.getLocation(), $playerLoc), 120)

Any help on why I cannot spawn a gas giant planet with console? thanks much appreciated.
Logged

SirHartley

  • Global Moderator
  • Admiral
  • *****
  • Posts: 840
    • View Profile
Re: Planet types
« Reply #1 on: October 06, 2023, 12:53:28 PM »

Good Evening,

Please don't necro ancient posts unless absolutely necessary or useful (rule 10).

Your question has been split off and moved to the appropriate section.

Thank you!
Logged