<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Trigger_setcvar</id>
	<title>Trigger setcvar - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Trigger_setcvar"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_setcvar&amp;action=history"/>
	<updated>2026-04-04T07:19:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Trigger_setcvar&amp;diff=305&amp;oldid=prev</id>
		<title>GeckonCZ: Import of converted entguide pages from Sven Manor.</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_setcvar&amp;diff=305&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:37Z</updated>

		<summary type="html">&lt;p&gt;Import of converted entguide pages from Sven Manor.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Entity_Infobox&lt;br /&gt;
| title=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Point entity which allows you to set several control variables (&amp;quot;CVars&amp;quot;) such as sv_gravity. To do so, give it a name, set which CVar &lt;br /&gt;
to change as well as the new desired value and trigger it.&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|CVar (only these are allowed)|m_iszCVarToChange|Set the name of the CVar to change. You can only change those CVars you can set with a map config-file. If you want to change a skill variable, make sure to append either 1, 2 or 3 to determine the according skill level. You can also omit the digit or put a hash (&amp;#039;#&amp;#039;) instead, in order to have all 3 skill-variants of the skill-CVar changed and the according damage-, health- or miscellaneous value be updated to the game engine. If you change the &amp;quot;skill&amp;quot;-CVar itself, all skill-CVars will be reread, which is a relatively expensive operation, so better don&amp;#039;t spam it.}}&lt;br /&gt;
{{Entity_keyvalue|New Value|message|Specify the new CVar value.}}&lt;br /&gt;
{{Entity_keyvalue|Trigger after set|netname|Target to trigger after trigger_setcvar has set the CVar.}}&lt;br /&gt;
{{Entity_keyvalue|Which CVARs to set|SetType|Allows to filter CVAR Types.}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Players and the server console will receive a console message reading which CVar has changed and to what value. &lt;br /&gt;
&lt;br /&gt;
If you set a skill-CVar, only the server console will get information about the change printed.&lt;br /&gt;
&lt;br /&gt;
== Changes ==&lt;br /&gt;
&lt;br /&gt;
5.0 Steam Release: Added &amp;#039;Which CVARs to set&amp;#039; keyvalue, updated &amp;#039;CVar&amp;#039; keyvalue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{entity_title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Entities]]&lt;br /&gt;
[[Category:Point entities]]&lt;/div&gt;</summary>
		<author><name>GeckonCZ</name></author>
	</entry>
</feed>