Thread: Katana
View Single Post
  #9  
Old 06-26-2006, 01:58 AM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
I think the #1 problem was that Cassy tried to get experimental with the script and use it as a learning device.

I've been using timeouts and keypressed checks so that you get a smooth, well-timed swing that can be void if you hold a key and if you are allowed to hold the key to use it, it doesn't swing once, pause.... then swing repeatedly. Keypressed is strictly a typing event.

Edit:
Here's where I tested it offline. It's not too hard to understand, but it works very well. This level includes punching, grabbing, weapons, etc...
Attached Files
File Type: nw era_keydowntest.nw (17.5 KB, 335 views)
Reply With Quote