Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Walking While pressing a key
Old
mauri99
Guest
 
Status:
Posts: n/a
Default Walking While pressing a key - 07-31-2010, 05:40 PM

hi ..... my problem is that y want an object (people) to walk while the key (up) is being pressed. it goes fine until i stop pressing that key so alice popup an error screen with animation problem... does anybody know how to solve this ??


EDIT: i uploaded an example of my problem....... when you are pressing the up key everything is fine but when you want it to stop by stop pressing the up key there comes the error please help me how to fix this
Attached Files
File Type: a2w walking Problem.a2w (574.2 KB, 16 views)

Last edited by mauri99; 07-31-2010 at 07:23 PM.
   
Reply With Quote
Old
King Gamer(gorit)
Guest
 
Status:
Posts: n/a
Default 07-31-2010, 05:47 PM

Well, This is a common problem and what you need to do is make a while key is pressed event and it put the walk method in the during part. That should fix your problems.
   
Reply With Quote
Old
mauri99
Guest
 
Status:
Posts: n/a
Default 07-31-2010, 06:30 PM

i well i did that since the beginning........ the thing is that the object walks but when y stop pressing the key it should stop walking but alice give me an animation error instead
   
Reply With Quote
Solution that worked for me
Old
patsito92
Guest
 
Status:
Posts: n/a
Smile Solution that worked for me - 09-11-2010, 01:03 PM

Hey! I had the same error as you. So i looked for it and figured it out. The error is produced by the simultaneous movement of the arms and the legs. If you want to avoid the error do this:
1.-Go to the walking char methods.
2.-Choose the method "walk(how far)"
3.-There you should see the methods that make the char walk. Erase the "charactername".upperbody method.
4.-Try again. It should not give you an error now.
   
Reply With Quote
Old
SirThorfinn
Senior Member
 
SirThorfinn's Avatar
 
Status: Offline
Posts: 232
Join Date: Sep 2010
Location: Some where Unreal!
Default 09-11-2010, 01:54 PM

Well i also had the same problem but i had a button make a gun do a shooting animation but i don't think i can do the same thing to fix it. since i cant hold it i have to press the button multiple times to get it to do an auto like animation...
   
Reply With Quote
Reply

Tags
problems, walk

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.