More COG problems. In this case, Jedi Knight refuses to sleep when I tell it to.
You activate Ug, and he displays a few lines of text and adds a new mission objective.
You go to the train station, and talk to the teller. He tells you to buzz off and various levels (depending on how many times you bug him). However, Jedi Knight refuses to recognize any of my Sleep(); verbs. It simply runs through all of the appropriate displays of text and playing of sounds. Why?
------------------
<ubuu> does hitler have a last name?
<jipe> .. yes, Ubuu, we're racist commy nazi jews, and we hate male pattern baldness
<Professor`K> Sorry, but half-way through your logic, my head exploded
You activate Ug, and he displays a few lines of text and adds a new mission objective.
You go to the train station, and talk to the teller. He tells you to buzz off and various levels (depending on how many times you bug him). However, Jedi Knight refuses to recognize any of my Sleep(); verbs. It simply runs through all of the appropriate displays of text and playing of sounds. Why?
Code:
# Jedi Knight Cog Script # # UgTicket.cog # # Description # # # This Cog is Not supported by LucasArts Entertainment Co symbols message activated message startup message entered message cyccam thing Ug thing scalper thing scalpcam sector sectcr thing ticketseller sound soundGoal=accomplish1.wav local sound newGoal=activate01.wav local sound traintalk1 sound traintalk2 sound traintalk3 sound traintalk4 int TicketTalk=0 local int TicketBuy=0 local int Sleep=0 local int Bother=0 local int entcred=0 local int ScalpTalk=0 local end # ======================================================================================== code startup: player = GetLocalPlayerThing(); return; # ======================================================================================== activated: if ((GetSenderRef()==Ug) && (TicketTalk==0)) { StopThing(player); SetActorFlags(player, 0xa00000); JKPrintUNIString(player, 10113); Sleep(3.0); JKPrintUNIString(player, 10114); Sleep(3.0); JKPrintUNIString(player, 10115); JKPrintUNIString(player, 1020); PlaySoundLocal(newGoal, 1.0, 0.0, 0x0); SetGoalFlags(player, 10, 1); SetGoalFlags(player, 11, 1); ClearActorFlags(player, 0xa00000); TicketTalk=1; } if ((GetSenderRef()==Ug) && (TicketTalk==1) && (TicketBuy==0) && (Sleep==0)) { Sleep=1; JKPrintUNIString(player, 10116); Sleep(3.0); Sleep=0; } if ((GetSenderRef()==Ug) && (TicketTalk==1) && (TicketBuy==1)) { JKPrintUNIString(player, 10127); jkPrintUNIString(player, 350); PlaySoundThing(soundGoal, player, 1.0, -1, -1, 0); SetGoalFlags(player, 11, 2); } if((GetSenderRef()==ticketseller) && (Bother==0)) { Bother=500; JKPrintUNIString(player, 10117); PlaySoundThing(traintalk1, ticketseller, 1, -1, -1, 0x0); Sleep(13.0); Bother=1; } if((GetSenderRef()==ticketseller) && (Bother==1)) { Bother=500; JKPrintUNIString(player, 10118); PlaySoundThing(traintalk2, ticketseller, 1, -1, -1, 0x0); Sleep(3.0); Bother=2; } if((GetSenderRef()==ticketseller) && (Bother==2)) { Bother=500; JKPrintUNIString(player, 10119); PlaySoundThing(traintalk3, ticketseller, 1, -1, -1, 0x0); Sleep(3.0); Bother=3; } if((GetSenderRef()==ticketseller) && (Bother==3)) { Bother=500; JKPrintUNIString(player, 10120); PlaySoundThing(traintalk4, ticketseller, 1, -1, -1, 0x0); } if((GetSenderRef()==scalper) && (ScalpTalk==0)) { ScalpTalk=500; setcamerafocus(0, scalpcam); JKPrintUNIString(player, 10123); Sleep(3.0); TicketBuy=1; jkPrintUNIString(player, 350); PlaySoundThing(soundGoal, player, 1.0, -1, -1, 0); ScalpTalk=1; } return; # ======================================================================================== cyccam: if((GetCurrentCamera() != 0)) { CycleCamera(); } return; # ======================================================================================== end
------------------
<ubuu> does hitler have a last name?
<jipe> .. yes, Ubuu, we're racist commy nazi jews, and we hate male pattern baldness
<Professor`K> Sorry, but half-way through your logic, my head exploded
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