OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 999chris on 06 May 2005, 15:45:09
-
Hello Hello... I have a complex camera script, and sometimes... due to AI errors and such. My Mr. Resistance dosent arrive to the waypoint in time for the camera to see him... so... how do I make it so the camera wont move until my Man reaches a waypoint...
e.g
Waypoint:
On Activation: fart=true
IN CAMERA.SQS
~3
? fart
_cam camsettarget mate
_cam set.... blah blah blah
-
Don't use a "?" for this, use a "@".
If you want to use a "?", try this:
IN CAMERA.SQS
~3
#Loop
?fart: goto "Cam"
~1
goto "Loop"
#Cam
_cam camsettarget mate
_cam set.... blah blah blah
-
so basically your saying
Use
@ instead of ?
So:
@ fart
_cam camset....
-
That is correct.
-
Worked, cheers!