-
Posts
18 -
Joined
-
Last visited
Reputation
0 NeutralContact Methods
- Website URL
Profile Information
-
About me
Bottle Rocketeer
-
I made a nice lander that I plan to take to Eve sometime in the future. But mostly I've been working on my mission generator again now that a financial issue that caused me to lose $35k is over and done with.
-
In essence arrays are vars that can hold multipal vars within them. To make sure you don't get an impossible mission you'll still have to use 'if' statements.
-
var bodies = ["Kerbol", "Moho", "Eve", "Eve's satellite Gilly", "Kerbin", "Kerbin's satellite Mun", "Kerbin's satellite Minmus", "Duna", "Duna's satellite Ike", "Dres", "Jool", "Jool's satellite Laythe", "Jool's satellite Vall", "Jool's satellite Tylo", "Jool's satellite Bop", "Jool's satellite Pol", "Eeloo"] var orbittype = ["Equatorial", "Polar"] var landingarea = ["North Pole", "Equator", "South Pole"] For a Duna equatorial orbit all i have to do is call document.write(bodies[7] + " orbit type: " + orbittype[0]); Muuuuch easier.
-
Oi, just because we don't have anything up in a day or two doesn't mean we aren't working on it. Some of us have jobs. Give it a few days and I'll have something up to experiment with. Edit: Also I suggest using 'arrays' with 'case' statements, it'll cut down on those 'if' statements.
-
This one: http://forum.kerbalspaceprogram.com/showthread.php/44210-Would-anyone-be-interested-in-a-website-that-randomly-generates-missions-for-you
-
Thanks for the call out.