Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Another Cutscene Related Cog
Another Cutscene Related Cog
2001-12-08, 12:03 PM #1
Now i know that the cog code to get a sweeping camera effect is something like

MoveToFrame(cam, 1, speed);
MoveToFrame(cam, 2, speed);
MoveToFrame(cam, 3, speed);

But im wondering, what is the code to make the camera switch directly to another frame rather than move between them?


Also, on a slightly different note, is there a line of code that would be able to make a character die during the cutscene?

Thanks [http://forums.massassi.net/html/smile.gif]
2001-12-08, 12:56 PM #2
'Jumptoframe(Camera, Int_frame, Sector_of_int_frame)' will make it jump to a specific frame.

'Damagething(SOB_to_kill, 1000, 0, Player)' will kill the obvious variable.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-08, 12:59 PM #3
BTW, you dont need to have each 'Movetoframe()' like that.


'Movetoframe(Object, 10, 1)' will move it through all 10 frames. There is no need to specify each frame, unless you want it to stop at each frame along the way....

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-09, 12:59 AM #4
Very handy to know, but also related to these cutscenes, how is it possible to get a cutscene to start automatically as soon as a level starts?
2001-12-09, 1:54 AM #5
Let me get this straight. You can script cutscenes, but dont know how to use the 'Startup' message?


Code:
Startup:

Sleep(Flex_how_long_to_wait_before_starting_cutscene);

//Cutscene code here

Stop;


------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-09, 3:17 AM #6
Thats why they call me "newbie" [http://forums.massassi.net/html/smile.gif]

Thanks.

↑ Up to the top!