Home   Help Search Login Register  

Author Topic: Camscripting problem  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

Offline tateyou

  • Members
  • *
Camscripting problem
« on: 26 Jun 2008, 16:48:08 »
Code: [Select]
titlecut ["","BLACK IN",5]
_camera = "camera" camcreat [0,0,0]
_camera cameraeffect ["internal","back"]

;=== 22:21:22
_camera camPrepareTarget stryker
_camera camPreparePos [2543.43,2537.12,2.00]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 0
@camCommitted _camera

~10

Player cameraeffect ["terminate","back"]
camDestroy _camera
end1=true;
Exit;

What's wrong with this script? i did it step-by-step as the AMS Camscripting Tutorial said, but when i preview it, there is an error appeard something like this:
'/#/ camCommitted _camera'
error camcommitted:type string,expected object

What's going on? Is it the script's problem or i did something wrong in the editor?Help!
« Last Edit: 06 Jul 2008, 18:33:12 by bedges »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Camscripting problem
« Reply #1 on: 26 Jun 2008, 16:54:16 »
  camcreat ->  camcreate

Offline tateyou

  • Members
  • *
Re: Camscripting problem
« Reply #2 on: 26 Jun 2008, 17:03:30 »
 :-[
thanks!
i forgot this can cause the problem too...