<?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=GetPlayerInput</id>
	<title>GetPlayerInput - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=GetPlayerInput"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=GetPlayerInput&amp;action=history"/>
	<updated>2026-08-27T10:06:40Z</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=GetPlayerInput&amp;diff=6517&amp;oldid=prev</id>
		<title>Printz: Created page with &quot;{{ACSFunction|description=Gets information about a player&#039;s input. |usage=&#039;&#039;int&#039;&#039; &#039;&#039;&#039;GetPlayerInput&#039;&#039;&#039;(&#039;&#039;int player&#039;&#039;, &#039;&#039;int type&#039;&#039;) |parameters= *&#039;&#039;player&#039;&#039;: player index, from 0 to 3. Use -1 for activator. *&#039;&#039;type&#039;&#039;: one of the following: :*&#039;&#039;&#039;INPUT_OLDBUTTONS&#039;&#039;&#039; (0): unused, returns 0 :*&#039;&#039;&#039;INPUT_BUTTONS&#039;&#039;&#039; (1): will return a combination of the following flags: ::*&#039;&#039;&#039;BT_ATTACK&#039;&#039;&#039; (1): normal weapon attack ::*&#039;&#039;&#039;BT_USE&#039;&#039;&#039; (2): switch or door activation ::*&#039;&#039;&#039;BT_JUMP&#039;&#039;&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=GetPlayerInput&amp;diff=6517&amp;oldid=prev"/>
		<updated>2026-05-10T09:08:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ACSFunction|description=Gets information about a player&amp;#039;s input. |usage=&amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;GetPlayerInput&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int player&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int type&amp;#039;&amp;#039;) |parameters= *&amp;#039;&amp;#039;player&amp;#039;&amp;#039;: player index, from 0 to 3. Use -1 for activator. *&amp;#039;&amp;#039;type&amp;#039;&amp;#039;: one of the following: :*&amp;#039;&amp;#039;&amp;#039;INPUT_OLDBUTTONS&amp;#039;&amp;#039;&amp;#039; (0): unused, returns 0 :*&amp;#039;&amp;#039;&amp;#039;INPUT_BUTTONS&amp;#039;&amp;#039;&amp;#039; (1): will return a combination of the following flags: ::*&amp;#039;&amp;#039;&amp;#039;BT_ATTACK&amp;#039;&amp;#039;&amp;#039; (1): normal weapon attack ::*&amp;#039;&amp;#039;&amp;#039;BT_USE&amp;#039;&amp;#039;&amp;#039; (2): switch or door activation ::*&amp;#039;&amp;#039;&amp;#039;BT_JUMP&amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ACSFunction|description=Gets information about a player&amp;#039;s input.&lt;br /&gt;
|usage=&amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;GetPlayerInput&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int player&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int type&amp;#039;&amp;#039;)&lt;br /&gt;
|parameters=&lt;br /&gt;
*&amp;#039;&amp;#039;player&amp;#039;&amp;#039;: player index, from 0 to 3. Use -1 for activator.&lt;br /&gt;
*&amp;#039;&amp;#039;type&amp;#039;&amp;#039;: one of the following:&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_OLDBUTTONS&amp;#039;&amp;#039;&amp;#039; (0): unused, returns 0&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_BUTTONS&amp;#039;&amp;#039;&amp;#039; (1): will return a combination of the following flags:&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_ATTACK&amp;#039;&amp;#039;&amp;#039; (1): normal weapon attack&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_USE&amp;#039;&amp;#039;&amp;#039; (2): switch or door activation&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_JUMP&amp;#039;&amp;#039;&amp;#039; (4): jump or attempting to jump&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_ALTATTACK&amp;#039;&amp;#039;&amp;#039; (32): secondary fire button&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_RELOAD&amp;#039;&amp;#039;&amp;#039; (64): weapon reload&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_ZOOM&amp;#039;&amp;#039;&amp;#039; (128): weapon view zoom&lt;br /&gt;
::*&amp;#039;&amp;#039;&amp;#039;BT_USER1&amp;#039;&amp;#039;&amp;#039; (2097152), &amp;#039;&amp;#039;&amp;#039;BT_USER2&amp;#039;&amp;#039;&amp;#039; (4194304), &amp;#039;&amp;#039;&amp;#039;BT_USER3&amp;#039;&amp;#039;&amp;#039; (8388608), &amp;#039;&amp;#039;&amp;#039;BT_USER4&amp;#039;&amp;#039;&amp;#039; (16777216): user-defined buttons&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_PITCH&amp;#039;&amp;#039;&amp;#039; (2): view pitch change (looking up or down)&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_YAW&amp;#039;&amp;#039;&amp;#039; (3): angle turn&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_FORWARDMOVE&amp;#039;&amp;#039;&amp;#039; (5): forward and backward move&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_SIDEMOVE&amp;#039;&amp;#039;&amp;#039; (6): strafing&lt;br /&gt;
:*&amp;#039;&amp;#039;&amp;#039;INPUT_UPMOVE&amp;#039;&amp;#039;&amp;#039; (7): flight (if available)&lt;br /&gt;
|return=The value for the given &amp;#039;&amp;#039;type&amp;#039;&amp;#039;&lt;br /&gt;
|notes=In Eternity, there are also &amp;#039;&amp;#039;&amp;#039;MODINPUT_...&amp;#039;&amp;#039;&amp;#039; options, but they mean the same as the &amp;#039;&amp;#039;&amp;#039;INPUT_...&amp;#039;&amp;#039;&amp;#039; ones. Anything else will just return 0.&lt;br /&gt;
|id=ACC internal}}&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>