if not SetWeatherCommand.has_type(weather_type.lower()):
raise HolodeckException("Invalid weather type " + weather_type)
self._enqueue_command(SetWeatherCommand(weather_type.lower()))
def set_control_scheme(self, agent_name, control_scheme):
Set the control scheme for a specific agent.
After Change
if not weather_type.lower() in ["rain", "cloudy"]:
raise HolodeckException("Invalid weather type " + weather_type)
self.send_world_command("SetWeather", string_params=[weather_type])
def teleport_camera(self, location, rotation):
Queue up a teleport camera command to stop the day cycle.
By the next tick, the camera"s location and rotation will be updated