# HG changeset patch
# User RedGrinner
# Date 1293751521 0
# Node ID 2edf207a905a6912612a0f4170864d9a2c95b25e
# Parent  588f5dc682e273d679ea9bf69819c47daacc3b2d
Edited wiki page LuaAPI through web user interface.

diff -r 588f5dc682e2 -r 2edf207a905a LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Dec 30 23:22:23 2010 +0000
+++ b/LuaAPI.wiki	Thu Dec 30 23:25:21 2010 +0000
@@ -386,8 +386,10 @@
 <blockquote>Masks specified player input.
 </blockquote>
 Example: 
-<code lang="lua">    SetInputMask(band(0xFFFFFFFF, bnot(gmAnimate+gmAttack+gmDown+gmHJump+gmLeft+gmLJump+gmPrecise+gmRight+gmSlot+gmSwitch+gmTimer+gmUp+gmWeapon))) -- masks just about anything the player might want to do
-    SetInputMask(0xFFFFFFFF) -- clears input mask, allowing player to take actions
+<code lang="lua">    -- masks the long and high jump commands
+SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump))) 
+    -- clears input mask, allowing player to take actions
+    SetInputMask(0xFFFFFFFF) 
 		</code>
 Note: Using the input mask is an effective way to script uninterrupted cinematics, or create modes such as No Jumping.