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.
P.S. What does this part do?:
------------------
"The Answer to everything...Life, the Universe, and Everything, is...42!"
--Deep Thought
Hitchhiker's Guide to the Galaxy
Project Leader of RemRan Productions
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
--Deep Thought
Hitchhiker's Guide to the Galaxy
Project Leader of RemRan Productions