OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dandy on 10 Jun 2003, 00:40:43

Title: How do I get a camera wiev to repeat it self?
Post by: Dandy on 10 Jun 2003, 00:40:43
Hi guys! :D

I got a little problem with my intro. It starts with a heli landing at the airport near a house and the pilots gets out and walks to a man nearby and starts talking. The problem is that the pilot can land the heli in several different ways, fast or slow, with the nose towards the house or with the nose from the house. That means that the pilots some times hafto take a longer way around the heli to get to the man. The camera "intro.sqs" has its own time limit to follow, sow the camera some times is to early or to late in position.

I havenÂ't find any camera totorial that contains wath i need.  ::)

Is there a way to get the camera to stay at the same position watching the heli until the pilot has activated a trigger or somthing similar?  ???

Thanx in advance!  :D
Title: Re:How do I get a camera wiev to repeat it self?
Post by: Messiah on 10 Jun 2003, 11:00:58
well.... make a trigger where the pilot has to walk to and in the onactivation when he gets to the trigger type:

pilot_present = true

then in your camera script have the camera watch the chopper and then before the command for the next camera move insert the line:

@(pilot_present)

this will make the script wait till the condition is met and then move onto the next camera command - so posisition the trigger according to what u need.

this should work a treat :thumbsup:
Title: Re:How do I get a camera wiev to repeat it self?
Post by: Dandy on 10 Jun 2003, 15:13:57
Thanx for the reply Messiah  :D

If this works, then I might have alot of other questions solved to.
ThatÂ's a good thing!

I shuld go and test it right away!

This might be the first mission I got 100% complete
Now Bizon will have something to sink his teeths in!

Thanx again! ;D