Home   Help Search Login Register  

Author Topic: Coordinations!  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
Coordinations!
« on: 26 Apr 2003, 16:09:54 »
Hi there!

  I'm making this scripted cutscene and I need some help! Please!

The cutscene starts as the player drives with a vehicle into a trigger positioned in front of what is supposed to be a roadblock.

Then a soldier is supposed to walk from a gatehouse towards me (I'm still in the car) and ask for my reason through and my pappers.

But the soldier never gets to the right place! >:(

Here's how I did (kinda embarassing, it's probably totally wrong!)


#Loop

? (Stopped Driver) : GoTo "Go"

GoTo "Loop"


#Go

_Cam = "Camera" CamCreate [0, 0, 0]

_Cam CameraEffect ["Internal", "Back"]

_Cam CamSetTarget Trabi

_Cam CamSetRelPos [7, 14, 5.5]

_Cam CamCommit 0

GateGuard01 SwitchMove "FXStandAtt"

~0.2

DriverPos SetPos GetPos Driver

DriverPosX = (DriverPos Select 0)
DriverPosY = (DriverPos Select 1)
DriverPosZ = (DriverPos Select 2) - 5

~0.3

GateGuard03 DoMove GetPos Driver

~5

GateGuard03 PlayMove "EffectStandTalk"

~2

_Cam CameraEffect ["Terminate", "Back"]

CamDestroy _Cam

What am I doing wrong??
Back to the forest!

Knut Erik

  • Guest
Re:Coordinations!
« Reply #1 on: 26 Apr 2003, 16:41:22 »
To get a person go exsactly where you want him to is HARD in Ofp.
The best way to do what you want, is to make the camera watch somewhere else, setpos the man, and then make the camera return  ;D

Offline Captain Crunch

  • Members
  • *
Re:Coordinations!
« Reply #2 on: 26 Apr 2003, 16:53:15 »
lol


   gotcha!

                    I'll be a great director/producer!!! ;D
Back to the forest!