help with moveto
Moderator: Core Staff
help with moveto
i just need to know how to set up a move to script. thats all. =]
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
http://codjumper.com/forums/viewtopic.php?t=2963
some posts down is an example with moveto from Luke
some posts down is an example with moveto from Luke
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
take a look at this link
viewtopic.php?t=2963&start=0
its not the exact moveto command but it can help, heres how the moveto command works basically
the platform is the targeted entity. moveto is your command followed by two sets of the ()'s. The 2nd inside ()'s designate the movement. The first number is x, the second is y, the third is z. So this platform will move 50 units to the east, 100 units north, and 150 units up. The 2nd numbers outside of that set of ()'s are the speed, acceleration and deceleration. So, the platform takes 2 seconds to travel that distance, spends .5 seconds both accelerating from a standstill to max speed and decelerating from max speed to a standstill again. So, a basic script would be just like the one in the link using the moveX moveY and moveZ commands except in place of those commands you would simply use moveto. If you decide to use the moveX commands instead of moveto, be sure to put the line
right after the movement command to ensure that no one can glitch the platform. That isn't necessary with the moveto command if i'm remembering correctly.
viewtopic.php?t=2963&start=0
its not the exact moveto command but it can help, heres how the moveto command works basically
Code: Select all
platform moveto ((50,100,150), 2,0.5,0.5);
Code: Select all
platform waittill ("movedone");
"Zaitsev is a cunt." - Pedsdude
Try it. If you put a value in the Z axis you can move it up or down. The way Soviet described it is when you don't use an origin brush with the brushmodel. If you use an origin brush then the x, y, z values it moves to will be the actual coordinates in the map.Deadly wrote:but aculy i wanted it to go at an angle so i would do it normal x or y axis but the z diffrent?
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Who is online
Users browsing this forum: No registered users and 31 guests