Home   Help Search Login Register  

Author Topic: The driver won't drive?!?!  (Read 482 times)

0 Members and 1 Guest are viewing this topic.

1stJemHadar

  • Guest
The driver won't drive?!?!
« on: 10 Mar 2003, 20:31:28 »
I really don't understand this. I'm trying to get a civilian to enter a car and then drive away with it. But what happen is that he gets into the car, and refuse to drive anywhere. What am I doing wrong?

The script:
Sean AssignAsDriver Car1 -- If I change this to "AssignAsCommander" he won't get into the car, but he does "run" to "T4".

setViewDistance 1500
_camera = "camera" camCreate [9578.59,3540.29,1.66]
_camera cameraEffect ["internal","back"]

;=== 19:38:15
_camera camSetTarget [-88510.37,-25361.84,147.17]
_camera camSetPos [5588.26,8480.98,2.16]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~4

Sean SwitchMove "FXStandFromTable"
~4
Sean SwitchMove "Stand" -- Is there any alternative way to re-eneble him to move, than to use this "Stand" animation? Without first using this animation, he refuses to move.

Sean DoMove GetPos T1
~2

;=== 19:41:33
_camera camSetTarget [-61586.02,82549.28,146.72]
_camera camSetPos [5585.07,8467.94,1.84]
_camera camSetFOV 0.700
_camera camCommit 6
@camCommitted _camera

Sean DoMove GetPos T2

;=== 19:42:17
_camera camSetTarget [100285.67,40512.97,146.77]
_camera camSetPos [5556.02,8476.40,1.78]
_camera camSetFOV 0.700
_camera camCommit 10
@camCommitted _camera

Sean DoMove GetPos T3

[Sean] OrderGetIn True

@ Sean in Car1 -- I know that OFP gets past this line. I checked that in a test earlier
----UPDATE
Sean MoveInCommander Car1 -- this line fixed it!!
~2
----UPDATE
Sean DoMove GetPos T4 -- This is where he refuse to move. He just sits in the car ::)
~6



------
Thanks

Problem solved:D Thanks
« Last Edit: 10 Mar 2003, 20:44:39 by 1stJemHadar »