Here's the deal.. I have my ghost, my walkplayer, and my console in an untextured box of doom. I have the frames set on the ghost and the cog applied to the ghost.. here is the cog:
Whats wrong with it?!
------------------
I'm better than you!
(The Pit)
It 0wnz0rz j00
Code:
# Moves a camera around when the thing
# gets activated
#Created by Hebedee
#Not supported by lucasarts
#
#
symbols
message activated
thing cam
thing console
thing player local
flex camspeed
int done=0 local
int Player local
int check local
end
code
activated:
if (done == 0)
{
check = GetSenderRef();
if (check == console)
{
player = GetLocalPlayerThing();
SetActorFlags(player, 0xa00000);
StopThing(player);
SetCameraFocus(0, cam);
MoveToFrame(cam, 1, camspeed);
sleep(1.2);
MoveToFrame(cam, 2, camspeed);
sleep(0.2);
MoveToFrame(cam, 3, camspeed);
sleep(0.2);
MoveToFrame(cam, 4, camspeed);
sleep(0.2);
MoveToFrame(cam, 5, camspeed);
sleep(0.2);
MoveToFrame(cam, 6, camspeed);
sleep(0.2);
MoveToFrame(cam, 7, camspeed);
sleep(0.2);
MoveToFrame(cam, 8, camspeed);
MoveToFrame(cam, 9, camspeed);
sleep(1.2);
SetCameraFocus(0, player);
CycleCamera();
DestroyThing(cam);
ClearActorFlags(Player, 0xa00000);
}
}
return;
endWhats wrong with it?!
------------------
I'm better than you!
(The Pit)
It 0wnz0rz j00