OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 02 Feb 2003, 00:57:39
-
Hi! HereÂ's a simple newbie Q in camera scripting so plz help:
IÂ'm reading SnYpirs introduction to sqs camera scripting and I want to add a binoc view. Whats wrong with this one?
player playmove "standtobinocstand"
~3.6
cutrsc ["binocular", "PLAIN DOWN",0]
_cam camsettarget truck
All I see is a binoc view on the players head, whats wrong? Plz help.
thx in advance.
-
You'll need to commit the changes you made to the camera, fulla ;)
...
cutrsc ["binocular", "PLAIN DOWN",0]
_cam camsettarget truck
_cam camcommit 0
-
thx!
*TOPIC SOLVED AND LOCKED*
-
*TOPIC RETURNS FROM THE DEAD*
A problem again, and I thought it would be stupid to start a new topic if it was about binoc view again:
player playmove "standtobinocstand"
~2.8
cutrsc ["binocular", "PLAIN DOWN",0]
_cam camsettarget truck
_cam camsetFOV 0.05
_cam camcommit 0
titletext ["WE HAVE THE TARGETS IN SIGHT. STANDBY FOR SIGNAL", "PLAIN"]
~3
cam camsettarget ammotrucky
_cam camsetrelpos [20,1,5]
_cam camcommit 4
I thought that the binoc view would move to "ammotrucky" but nope! It will not let "truck" out of itÂ's sight, and moves as "truck" was the target . What must I do? Plz help
Thx in advance
-
Add the underscore ( _ ) to that one line? Like :
_cam camsettarget ammotrucky
-
DOH!
:tomato:
*TOPIC SOLVED AND LOCKED*