![]() |
|
#2
|
|||
|
|||
Hi,
You can setup callbacks for when actions are beginning and ending. So in this case setup a callback for when an actions starts then perform whatever action you need. Here's some sample code: Code:
def beginaction(avatar,action,type): if avatar == male and action == word: print 'The male has started speaking' viz.callback(viz.AVATAR_BEGIN_EVENT,beginaction) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|