I'm trying to do a cheap ripoff of Yun for one of my levels (bah on you). Anyway, for some reason, Yun refuses to damage when he attacks. I've studied 07_rahnlines.COG and darkjedi_yun.cog and have produced this cutscene COG:
To prevent any worries over copyright infringement, I'll leave Yun's COG off of the page. However, I would appreciate any help as to why Yun won't kill.
------------------
Jack Chick preaches it
My source
Quote:
<font face="Verdana, Arial" size="2"># Jedi Knight Cog Script
#
# filename.cog
#
# Description
#
#
# This Cog is Not supported by LucasArts Entertainment Co
symbols
cog yuncog
thing doctor
thing cam1
surface adjoin0
thing stoneboss
thing telestat
thing door3
thing door4
message crossed local
int okay=0 local
int boombang=0 local
end
code
crossed:
if(boombang=0) {
MoveToFrame(door3, 1, 0.35);
MoveToFrame(door4, 1, 0.35);
SetCameraFocus(0, cam1);
Print("What? It's you!");
Sleep(1.75);
Print("You don't understand...");
Sleep(1.5);
Print("This place...it seethes with raw power.");
Sleep(2.0);
Print("You're too late to stop anything.");
Sleep(2.0);
Print("I've sent all my research to Dangoon IV.");
Sleep(3.0);
Print("I now control everything here.");
Sleep(2.0);
TeleportThing(stoneboss, telestat);
Sleep(0.001);
DestroyThing(telestat);
SetCameraFocus(0, stoneboss);
okay = 1;
SendMessage(yuncog, user1);
AISetFireTarget(stoneboss, doctor);
AISetMoveThing(stoneboss, doctor);
SetCameraFocus(0, cam1);
Print("You will die here like everyone else!");
AISetLookPos(stoneboss, GetThingPos(doctor));
AISetMode(stoneboss, 0x202);
AIClearMode(stoneboss, 0x1004);
Sleep(0.125);
SetCameraFocus(0, player);
boombang = 1;
}
return;
end</font>
#
# filename.cog
#
# Description
#
#
# This Cog is Not supported by LucasArts Entertainment Co
symbols
cog yuncog
thing doctor
thing cam1
surface adjoin0
thing stoneboss
thing telestat
thing door3
thing door4
message crossed local
int okay=0 local
int boombang=0 local
end
code
crossed:
if(boombang=0) {
MoveToFrame(door3, 1, 0.35);
MoveToFrame(door4, 1, 0.35);
SetCameraFocus(0, cam1);
Print("What? It's you!");
Sleep(1.75);
Print("You don't understand...");
Sleep(1.5);
Print("This place...it seethes with raw power.");
Sleep(2.0);
Print("You're too late to stop anything.");
Sleep(2.0);
Print("I've sent all my research to Dangoon IV.");
Sleep(3.0);
Print("I now control everything here.");
Sleep(2.0);
TeleportThing(stoneboss, telestat);
Sleep(0.001);
DestroyThing(telestat);
SetCameraFocus(0, stoneboss);
okay = 1;
SendMessage(yuncog, user1);
AISetFireTarget(stoneboss, doctor);
AISetMoveThing(stoneboss, doctor);
SetCameraFocus(0, cam1);
Print("You will die here like everyone else!");
AISetLookPos(stoneboss, GetThingPos(doctor));
AISetMode(stoneboss, 0x202);
AIClearMode(stoneboss, 0x1004);
Sleep(0.125);
SetCameraFocus(0, player);
boombang = 1;
}
return;
end</font>
To prevent any worries over copyright infringement, I'll leave Yun's COG off of the page. However, I would appreciate any help as to why Yun won't kill.
------------------
Jack Chick preaches it
My source
the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot - LC Tusken