Difference between revisions of "Movement lock"

From EDukeWiki
Jump to navigation Jump to search
(Thanks to Hunter_rus for the values.)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A bitfield that can be used to stop the player from moving. It takes the following values:
+
A [[bitfield]] that can be used to stop the player from moving using the keyboard the player can still move when with the mouse (if mouse aiming is off). It takes the following values:
  
<pre>
+
1 Move_Forward
1 Move_Forward
+
2 Move_Backward
2 Move_Backward
+
4 Strafe_Left
4 Strafe_Left
+
8 Strafe_Right
8 Strafe_Right
 
</pre>
 
  
 +
[[Category:Bitfields]]
 
[[Category:Player structure members]]
 
[[Category:Player structure members]]

Latest revision as of 05:36, 29 May 2016

A bitfield that can be used to stop the player from moving using the keyboard the player can still move when with the mouse (if mouse aiming is off). It takes the following values:

1 Move_Forward
2 Move_Backward
4 Strafe_Left
8 Strafe_Right