<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=WeaponCtrSwitch</id>
	<title>WeaponCtrSwitch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=WeaponCtrSwitch"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=WeaponCtrSwitch&amp;action=history"/>
	<updated>2026-04-20T19:56:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://eternity.youfailit.net/index.php?title=WeaponCtrSwitch&amp;diff=2622&amp;oldid=prev</id>
		<title>Printz: Created page with &#039;{{codepointer|description= This powerful codepointer can branch to one of N states depending on the value of the indicated counter. If the entire indicated frame set is not valid…&#039;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=WeaponCtrSwitch&amp;diff=2622&amp;oldid=prev"/>
		<updated>2011-05-08T21:05:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{codepointer|description= This powerful codepointer can branch to one of N states depending on the value of the indicated counter. If the entire indicated frame set is not valid…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{codepointer|description=&lt;br /&gt;
This powerful codepointer can branch to one of N states depending on the value of the indicated counter. If the entire indicated frame set is not valid, no actions will be taken.|usage=&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WeaponCtrSwitch&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;cnum&amp;#039;&amp;#039;, &amp;#039;&amp;#039;startstate&amp;#039;&amp;#039;, &amp;#039;&amp;#039;numstates&amp;#039;&amp;#039;, &amp;#039;&amp;#039;psprnum&amp;#039;&amp;#039;)|parameters=&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cnum&amp;#039;&amp;#039;&amp;#039;: counter # to use.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;startstate&amp;#039;&amp;#039;&amp;#039;: First frame in consecutive set.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;numstates&amp;#039;&amp;#039;&amp;#039;: Number of frames in consecutive set.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;psprnum&amp;#039;&amp;#039;&amp;#039;: type of weapon overlay to affect (&amp;#039;&amp;#039;&amp;#039;weapon&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;flash&amp;#039;&amp;#039;&amp;#039;)|notes=&lt;br /&gt;
This will switch the current frame of either the main weapon or gunflash overlay to &amp;#039;&amp;#039;startstate&amp;#039;&amp;#039; + contents of &amp;#039;&amp;#039;cnum&amp;#039;&amp;#039;. The target [[frame|frames]] have to be written in proper order in the EDF file for this codepointer to work correctly.|seealso=&lt;br /&gt;
*[[List_of_codepointers#Frame_scripting|Weapon frame scripting codepointers]]}}&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>