Difference between revisions of "ReleaseKey"

Jump to navigation Jump to search
No change in size ,  03:43, 9 January 2008
no edit summary
imported>Haama
(→‎See Also: Added Menu functions)
imported>Quetzilla
 
Line 11: Line 11:


  if ( timer == 0 )
  if ( timer == 0 )
   HoldKey 18 ;E
   HoldKey 17 ;W
   set timer to ( timer + GetSecondsPassed )
   set timer to ( timer + GetSecondsPassed )
  elseif ( timer < 30 )
  elseif ( timer < 30 )
   set timer to ( timer + GetSecondsPassed )
   set timer to ( timer + GetSecondsPassed )
  else
  else
   ReleaseKey 18
   ReleaseKey 17


The player will move forward for 30 seconds, and then stop (assuming default set-up).
The player will move forward for 30 seconds, and then stop (assuming default set-up).
Anonymous user

Navigation menu