View Single Post
  #2  
Old 11-18-2004, 01:08 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The walkto function creates a walk action which you can later apply to an avatar. Here's what your code should look like:
Code:
#Create a walk action to the start location (only need to create this once)
WalkToOrigin = female.walkto(-1.65,.5,-1.05)

#Create a walk action to the network head position (need to create this every time)
WalkToHead = female.walkto(x,0,z)

#Apply walk actions to avatar
female.act(WalkToHead)
female.act(WalkToOrigin)
Reply With Quote