can anyone access the ck.com MoveTo - objRef page?

Post » Mon Jan 02, 2017 4:43 pm

i haven't been able to view it for 2 weeks,



i need to know how it works in terms of rotation. i think the object I'm moving in front of me is adopting the player's orientation. i thought there was a parameter that controlled this? but i thought it was disabled by default, any ideas?

User avatar
Ashley Tamen
 
Posts: 3477
Joined: Sun Apr 08, 2007 6:17 am

Post » Mon Jan 02, 2017 10:09 pm

I noticed that too. It hasn't worked for some time.



I think its MoveTo(akActor, X, Y, Z) where Z is the facing angle of akActor. Unless specified XYZ are zero by default... I think. Decompling a script always outputs as (akActor, 0, 0, 0) iirc

User avatar
Robert Bindley
 
Posts: 3474
Joined: Fri Aug 03, 2007 5:31 pm

Post » Mon Jan 02, 2017 11:53 pm

Why not just look at the source code for the ObjectReference script? Here's the function definition:



Function MoveTo(ObjectReference akTarget, float afXOffset = 0.0, float afYOffset = 0.0, float afZOffset = 0.0, bool abMatchRotation = true) native
User avatar
Brittany Abner
 
Posts: 3401
Joined: Wed Oct 24, 2007 10:48 pm

Post » Mon Jan 02, 2017 2:42 pm


thanks, i didn't even think of that

User avatar
Rachie Stout
 
Posts: 3480
Joined: Sun Jun 25, 2006 2:19 pm


Return to V - Skyrim

cron