Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
→Move an Object to a Specific Location Without Fade
imported>Evernewjoy |
imported>Mr6 |
||
| Line 78: | Line 78: | ||
if (akActionRef == Game.GetPlayer()) | if (akActionRef == Game.GetPlayer()) | ||
akActionRef.TranslateTo( | akActionRef.TranslateTo(dest.GetPositionX(),dest.GetPositionY(),dest.GetPositionZ(),dest.GetAngleX(),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 | ||