Really nooby question
Posted: June 25th, 2011, 2:58 pm
How can I get the position of something, say 100 units below the person in Z direction, and then get it to move up to the original position? I made some code, but I can't check it at the moment, and just wondering if it seems right.
Thanks.
Code: Select all
place = self.origin - (0, 0, 100);
Â
model = spawn( "script_model", place );
model setModel("randommodel");
model moveZ(100, 2, 0.1, 0.1);