Home   Help Search Login Register  

Author Topic: Unit movement in a cut sceen?  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

NASFMike

  • Guest
Unit movement in a cut sceen?
« on: 14 Aug 2003, 22:19:02 »
how can i get the unit to move to a position using a script. with out a waypoint on the map
i can get a chopper to move using:

helo3  move [1215.938965,15.685940,3252.749512]

but cars and trucks dont move with that command  ???

m21man

  • Guest
Re:Unit movement in a cut sceen?
« Reply #1 on: 14 Aug 2003, 23:57:35 »
A quick compromise that works is to use waypoints that complete when a variable is switched. For instance, a truck moves from waypoint 1 to waypoint 2. In the Condition field of waypoint 2 put something like:
movevar == 1

If at the beginning of your cam script you put movevar = 0, then whenever you want the truck to move to the next waypoint from waypoint 2, you switch the variable within the script:
movevar = 1

m21man

  • Guest
Re:Unit movement in a cut sceen?
« Reply #2 on: 14 Aug 2003, 23:58:24 »
Also, you could try commandmove instead of domove.