<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=World%3A%3AsetWeatherTransition</id>
	<title>World::setWeatherTransition - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=World%3A%3AsetWeatherTransition"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=World::setWeatherTransition&amp;action=history"/>
	<updated>2026-07-24T19:20:59Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=World::setWeatherTransition&amp;diff=16605&amp;oldid=prev</id>
		<title>imported&gt;Unknown в 08:55, 7 декабря 2019</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=World::setWeatherTransition&amp;diff=16605&amp;oldid=prev"/>
		<updated>2019-12-07T08:55:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
{{ServersideJsFunction}}&lt;br /&gt;
&lt;br /&gt;
This function start a weather transition to the weather specified and sync it to all clients.&lt;br /&gt;
&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;pre&amp;gt;mp.world.setWeatherTransition(weather, easeTime)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Required Arguments ==&lt;br /&gt;
*{{Required}}&amp;#039;&amp;#039;&amp;#039;weather&amp;#039;&amp;#039;&amp;#039;: {{RageType|String}} ([[Weather]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;easeTime&amp;#039;&amp;#039;&amp;#039;: {{RageType|Int}} (Weather transitioning time)&lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: the second use with easeTime field seems to be buggy, it has graphical issues with transition from SMOG to FOGGY weather (and probably with some other weather), so right now the best choice would be to do weather transition on client side and sync it manually.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;); // Set&amp;#039;s the server&amp;#039;s weather to &amp;#039;CLEARING&amp;#039; immediately&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;, 600000); // Set&amp;#039;s the server&amp;#039;s weather to &amp;#039;CLEARING&amp;#039; with 10 minutes transition&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World_definition}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Unknown</name></author>
	</entry>
</feed>