Complete Example Scripts: Difference between revisions

Jump to navigation Jump to search
imported>Evernewjoy
imported>Evernewjoy
Line 79: Line 79:
if (akActionRef == Game.GetPlayer())
if (akActionRef == Game.GetPlayer())
akActionRef.TranslateTo(
akActionRef.TranslateTo(
                  dest.GetPositionX(), dest.GetPositionY(),   
                      dest.GetPositionX(),  
                  dest.GetPositionZ(),
                      dest.GetPositionY(),   
                  dest.GetAngleX(), dest.GetAngleY(),  
                      dest.GetPositionZ(),
                  dest.GetAngleZ(),  
                      dest.GetAngleX(),  
                  500)  
                      dest.GetAngleY(),  
                      dest.GetAngleZ(),  
                      500)  
                   ;500 is the speed value, it's pretty fast
                   ;500 is the speed value, it's pretty fast
endif
endif
Anonymous user

Navigation menu