Difference between revisions of "ReleaseKey"
Jump to navigation
Jump to search
no edit summary
imported>Haama (→See Also: Added Menu functions) |
imported>Quetzilla |
||
Line 11: | Line 11: | ||
if ( timer == 0 ) | if ( timer == 0 ) | ||
HoldKey | 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 | 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). |