![]() |
|
|
|
#1
|
|||
|
|||
|
Not to sound too desperate, but i'm still having some difficulties with this. Does anybody perhaps have a suggestion for me?
|
|
#2
|
|||
|
|||
|
If you're waiting for either the walk action to finish or the keypress to occur you should use the viztask.waitAny command. Then if the event was a keypress you can leave the task using the return command:
Code:
d = yield viztask.waitAny([waitSpaceBar,waitAction]) condition = d.condition if condition == waitSpaceBar: avatar.clearActions() return |
![]() |
| Tags |
| avatar, interrupt, stop, walkto |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Avatar & Motion Capture Interface | Angie | Vizard | 1 | 08-05-2010 07:17 PM |
| avatar scale and link.setpos conflict? | sircedric4 | Vizard | 0 | 09-29-2009 08:48 AM |
| Collision of an avatar with a quad | Frank Verberne | Vizard | 8 | 06-04-2008 10:44 AM |
| Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 06:52 AM |
| How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 09:48 AM |