speed or time

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

speed or time

Post by bdbodger »

I made a map that used rotation in it . Worked good when I used time but speed didn't work just wondering when do you use time and when do you use speed .
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

moving things

Post by tltrude »

Time is used for rotating or things that move in a direction. The number after it is the seconds it take to travel the set distance or to the angle set.

Speed only works for things that move in a direction or between waypoints. The number is "units per second".

Here is an example:

Let's say you have a truck with a lot of waypoints to make it move. If you set "$truck time 4", the truck will take 4 seconds to reach each waypoint. But, if you set "$truck speed 150", the truck will travel 150 units every second no matter how far apart the waypoints are.

Hope that helps.
Tom Trude,

Image
Post Reply