View Single Post
  #5  
Old 02-24-2007, 12:23 PM
vnellyaba vnellyaba is offline
Member
 
Join Date: Sep 2006
Posts: 3
thanks, for some reason
victims[nextvictim].get(viz.POSITION)
works fine.

Question:
Do you have any idea why an avatar, after completing a walkto(x,y,z) would start performing another animation?
the code is:

actor.act(actor.walkto(-1, 0, 1.5,1.8,0,6))
actor.act(actor.walkto(-1, 0, 3,1.8,0,6))
actor.act(actor.turn(-110))

after each of those walkto's and during the turn, the avatar begins to bend down(which is one of the animations it has) for some milliseconds and then continue with the next action. it does the turn simultaneously with the bending down action although i never called it .

I tried setting the state to idle, but that doesnt work...
Reply With Quote