Code:
# 01_conv_kapa.cog # [Burrie] [Grismath] # Handles the conversation with Ka'Pa the Hutt. symbols Message Activated Message Pulse Message Playeraction Message EndConv Thing Camera Thing droid Thing MainCam Int Player Local Int Conversation=0 Local cog adventure end code Activated: SetCurrentCamera(0); SetCameraFocus(0, Camera); SetActionCog(-1, 0); SetActionCog(GetSelfCog(), 0x7FFFFFFF); SetPulse(1); return; Pulse: Print("KA'PA: Yo dude, what's up?"); Print("1. Who are you?!"); Print("2. What are you doing in by bedroom?"); Print("3. How can I get out of here?"); Print("4. Why are you toting a copy of Jedi Outcast?"); Return; Playeraction: ReturnEx(0); If(GetParam(0) != 7) Return; If(GetParam(2) == 13) { SetPulse(0); Print("KA'PA: I'm a brutha Hutt trying to make"); Print(" a living in a cruel world. Y'dig, cat?"); Print(""); Print(""); Print(""); Sleep(2.5); } If(GetParam(2) == 14) { SetPulse(0); Print("KA'PA: I'm a wayward kinda sluggy thing,"); Print(" one day I might be in a palace, the next a"); Print(" hip night club. Today I happen to be in"); Print(" your bedroom, yo. Nice pad."); Print(""); Sleep(2.5); } If(GetParam(2) == 15) { SetPulse(0); Print("KA'PA: Oh yeah... I locked the door, sorry."); Print(" Always one step ahead of the man. I have the"); Print(" key right... uh-oh... uhhh... sorry, dude."); Print(" It's around here somewhere."); Print(""); Sleep(2.5); } SetCurrentCamera(0); SetCameraFocus(0, MainCam); Print("Blargh"); SetActionCog(-1, 0); SendMessage(adventure, user1); SetActionCog(adventure, 0x7FFFFFFF); Print("Blargh2"); Return; end
For some unfathomable REASON (or lack thereof) the adventure cog does not become the ActionCog, nor does it even display the message I have it give when it receives the user1 message:
Code:
user1: Print("ACTIVE"); active=1; return;
I am in desperate and urgent need of help for this.