Home   Help Search Login Register  

Author Topic: Syntax prob ?  (Read 535 times)

0 Members and 1 Guest are viewing this topic.

O Neil

  • Guest
Syntax prob ?
« on: 30 Sep 2003, 06:13:47 »
HEy.

I got this in a cut-scen:

Quote
_cam camsettarget Chopper
_cam camsetrelpos [0,30,10]
_cam camcommit 0
@camcommitted _cam
~6.5

[Chopper, true, 5] exec "effects\tailrotor.sqs"
.5

_cam camsetrelpos [5,50,2]            
_cam camcommit 0
@camcommitted _cam
~14

_cam camSetTarget [8221.00,103201.83,16.04]
_cam camSetPos [8079.57,3198.28,0.57]
_cam camSetFOV 0.700
_cam camCommit 0
@camCommitted _camera
~3

Here

;=== 15:55:57
_camera camSetTarget [-14596.13,-92594.19,17426.82]
_camera camSetPos [8081.32,3231.32,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~0

;=== 15:56:18
_camera camSetTarget [176.76,-95639.80,12721.53]
_camera camSetPos [8081.26,3234.12,0.05]
_camera camSetFOV 0.700
_camera camCommit 6
@camCommitted _camera
~1

;=== 15:56:57
_camera camSetTarget [2104.89,102948.85,2399.90]
_camera camSetPos [8086.00,3156.32,2.50]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~0

jeep setvelocity [40,20,20]
~5

Soz, I dunno if that's gona help.

Anyways, where it sayd Here , nothing happens, it stays at the last position:

Quote
_cam camSetTarget [8221.00,103201.83,16.04]
_cam camSetPos [8079.57,3198.28,0.57]
_cam camSetFOV 0.700
_cam camCommit 0
@camCommitted _camera
~3

Any ideas why ?

O'Neil

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Syntax prob ?
« Reply #1 on: 30 Sep 2003, 08:00:00 »
Cause there you've used _cam and in the next you have used _camera.

:beat: *Gets Shot* :beat:
« Last Edit: 30 Sep 2003, 08:00:15 by The real Armstrong »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Syntax prob ?
« Reply #2 on: 30 Sep 2003, 08:01:21 »
early in the script you use
@camcommitted _cam
after a while, right above the spot where you've typed 'here', you start using
@camcommitted _camera
Not all is lost.

O Neil

  • Guest
Re:Syntax prob ?
« Reply #3 on: 30 Sep 2003, 23:11:55 »
Dude ! I swear to god I F***** checked that 4 times !

Anyways, it's solved I guess.

Thxs

O'Neil