OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BXRay on 14 Jun 2006, 22:16:53
-
Hey, i'm creating a CTF map, and i've come so far that now i need to make the Intro/outro scenes... with camera effects.
i know the commands, but i don't know how to set up the x,y,z cordinates for the camera's position!?
How do i get the cordinations from the map to be able to control the cameras movements!?
~~Thanx~~
-
The easiest way is to just put down some Gamelogics. Then just use the getpos command to place your camera. So it will look similar to this:
_cam camsettarget player
_cam camsetpos [(getpos gamelogic_1 select 0),(getpos gamelogic_1 select 1),10]
_cam camcommit 0
-
thanks, but i found the way in how to do it, in the other post of Were to find snypers camera tutorial