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.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → Cutscene Cog
Cutscene Cog
2001-01-21, 5:15 AM #1
I realize that this should be in the cog forum, but its not there for two reasons:
1. No one ever looks there, so my question won't be answered for some time.
2. This IS an editing question, so it logically can be here. Anyway:

I have this cog. I changed the message from activated: to startup: What's wrong with it? The game crashes right when it finishes loading.

Code:
symbols

thing camera1
thing camera2
thing camera3
thing camera4
thing camera5
thing location
thing actor
thing newpos
thing newpos2
thing player
sector sec
template keything=

flex delay
flex delay2

message startup

end

code

startup:

// freeze Kyle
SetActorFlags(Player, 0xa00000);
StopThing(Player);


SetCameraFocus(0, camera1);
Sleep(delay2);
Print("Man, whoever invented this cog should die.");
Sleep(delay);
SetCameraFocus(0, camera2);
Print("Yeah, how confusing.");
Sleep(delay);
SetCameraFocus(0, camera1);
Print("Good thing the Massassi Forums are here.");
Sleep(delay);
Print("Yeah, then Xizor42 can get his question answered.");
Sleep(delay);
SetCameraFocus(0, camera3);
Destroything(keything, location);
AiSetMovePos(actor, getthingpos(newpos));
SetCameraFocus(0, camera4);
AiSetMovePos(player, getthingpos(newpos2));
SetCameraFocus(0, camera3);
Print("Man, someone better answer soon.");
Sleep(delay);
SetCameraFocus(0, camera5);
Print("Well, I don't intend to disappoint");

// unfreeze's Kyle
ClearActorFlags(Player, 0xa00000);

Return;

end


P.S. What does this part do?:
Code:
Destroything(keything, location);
AiSetMovePos(actor, getthingpos(newpos));
SetCameraFocus(0, camera4);
AiSetMovePos(player, getthingpos(newpos2));


------------------
"The Answer to everything...Life, the Universe, and Everything, is...42!"
--Deep Thought
Hitchhiker's Guide to the Galaxy

Project Leader of RemRan Productions
"The Answer to everything...Life, the Universe, and Everything, is...42!"
--Deep Thought
Hitchhiker's Guide to the Galaxy

Project Leader of RemRan Productions
2001-01-21, 12:22 PM #2
I think that the template keything definition in the symbols isn't meant to have then equals after it without anything being there. That's all I can see (but I haven't done much cog)

That little section is to destroy the template thing. It doesn't appear to do anything in this cog and it might also cause it to crash.

↑ Up to the top!