Sets up the default setTransform function as an event for Players, Bots, and Vehicles.
There are two types, setTransformAA, which uses the default ingame Axis Angle rotation system.
And setTransformE, which uses the more conventional 3 point rotation system.
setTransformAAUses the game's coordinate, and rotation system.
[posx posy posz] [rotvecx rotvecy rotvecz] [rottheta]
You can use the admin command /gettransform on any object ingame to get these values.
If you aren't admin, trial and error is your best bet.
Rotation uses the axis angle formula.
You define a rotation axis using the first three numbers.
Then you define how much you want to rotate around that axis using the theta value.
Theta can be anywhere from 0 to 2pi.
setTransformEUses the game's coordinate system, and the conventional 3 point rotation system(x y z, in degrees. 90 is a right-angle turn).
[posx posy posz] [rotx roty rotz]
You can use the admin command /gettransform to get the first three values, but for the last three you are on your own.
Download:
Mediafire -
http://www.mediafire.com/download/9ym2mrmq02n5wb2/Event_setTransform.zipDropbox -
https://www.dropbox.com/s/hdb8267dtajggww/Event_setTransform.zip?dl=0I suggested this event
here.
jes00 and Zeblote gave me an example to follow, which I refined and expanded.
tldr; It's a difficult to use teleportation event that lets you assign rotation at the same time.