OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 02 Feb 2003, 00:57:39

Title: binoc view
Post 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.
Title: Re:binoc view
Post by: Sui on 02 Feb 2003, 11:54:15
You'll need to commit the changes you made to the camera, fulla ;)

...
cutrsc ["binocular", "PLAIN DOWN",0]

_cam camsettarget truck
_cam camcommit 0
Title: Re:binoc view
Post by: dmakatra on 02 Feb 2003, 13:08:15
thx!

*TOPIC SOLVED AND LOCKED*
Title: Re:binoc view
Post by: dmakatra on 02 Feb 2003, 13:28:35
*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
Title: Re:binoc view
Post by: 96th Being on 02 Feb 2003, 18:56:54
Add the underscore ( _ ) to that one line? Like :

_cam camsettarget ammotrucky
Title: Re:binoc view
Post by: dmakatra on 02 Feb 2003, 19:52:12
DOH!

 :tomato:

*TOPIC SOLVED AND LOCKED*