FutureProg functions

celestialelevation

Celestials · computer function, computer program, standard futureprog

Number celestialelevation(Location locationOrZone, Number celestialId)
Contexts: computer function, computer program, standard futureprog
Looks up a celestial object by ID in the supplied room or zone and returns its current elevation above or below the horizon in radians. Positive values are above the horizon. Returns 0 if the zone or celestial object cannot be found.
locationOrZone: The room or zone whose celestial collection is searched.
celestialId: The ID of the celestial object to inspect.

Number celestialelevation(Zone locationOrZone, Number celestialId)
Contexts: computer function, computer program, standard futureprog
Looks up a celestial object by ID in the supplied room or zone and returns its current elevation above or below the horizon in radians. Positive values are above the horizon. Returns 0 if the zone or celestial object cannot be found.
locationOrZone: The room or zone whose celestial collection is searched.
celestialId: The ID of the celestial object to inspect.

← Back to FutureProg functions