OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 30 Dec 2002, 09:00:23
-
Hey
2 Qs:
1) How can I make it so that if a soldier walks into a trigger, (Which has a camera veiw of FIXED) make the camera veiw veiw from a gamelogic or something.
Prob a gay question.
2) How do you make a break in the speech? n/ ?
Thxs
-
Never in my life have I seen one question start flirting with a question of the same gender, but then I probably go to the wrong sort of bars.
Either way the answer tothe first question is to use a camera script. You get much better control over camera scenes using a script.
Somthing like;
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camsettarget UnitName
_cam camsetrelpos [0, 0, 0]
_cam camcommit 0
_cam camsetpos (getpos LogicName)
_cam camsettarget UnitName
_cam camcommit 0
@camcommitted _cam
Should do the trick.
As for the line break in text, use \n. This only gives a ine break. If you want a pause you probably want to use a seperate trigger (if you are using triggers), or put a ~number in your script to denote pause.
-
No, I mean how do you make it so that the words appear ontop of each other.
/n didn't work for me.
-
are you sure? It works for me.
-
I'll try it in a min
-
its backslash - \n
not forward slash /n
thats probably why.
-
okhttp://URL