Get vector from path
From Unofficial QEdit Wiki Guide
Syntax
Syntax: get_vector_from_path dword, dword, dword, dword, breg, data
- dword1 = The # of sets of data for the vector, must not be a float.
- dword2 = Speed of the vector, can be a float.
- dword3 = Current progress in the loop.
- dword4 = Looping flag.
- breg = Starts a continuous string of 4 registers. First is X, Second is Y, Third is Z, 4th is completion flag which is set to 1.
- data = Contains all of the X, Y, Z, and Duration of the vector.
Use
Used to make a complex path for a camera or particle to follow.
Dword1 is a leti for how many sets of XYZ the path is following, includes where it starts and where it ends. Dword2 is the speed in which you want the sets to follow. (The speed is also determined in the opcode itself in how many frames you want it to take to get from 1 point to the next.) Dword3 is an output register in case you want to have specific actions occur during different parts of the vector Dword4 is the Looping flag, set to 1 to have it loop, set to 0 to have it run once.