Home   Help Search Login Register  

Author Topic: Camera on marker  (Read 1316 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
Camera on marker
« on: 04 May 2003, 16:37:02 »
Hi
Im using Archangel_Scream's Basic Camera script tute, but i cant get the camera to view from a marker.
Im using the following code in my script:-
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

_cam camsettarget marker1
_cam camsetrelpos [5,5,1]
_cam camcommit 0
@camcommitted _cam

And im using marker typer "marker" and naming it "marker1"
Where am i going wrong ?

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Camera on marker
« Reply #1 on: 04 May 2003, 18:39:54 »
Code: [Select]
_cam camsettarget getmarkerpos "marker1"
~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

BrAinOfJ

  • Guest
Re:Camera on marker
« Reply #2 on: 05 May 2003, 05:04:39 »
thanks :)