Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → So...close...
So...close...
2001-03-22, 2:53 PM #1
I posted this in the old thread, but I think people took it for finished when I said thank you. Unfortunetaly, it doesn't.

Quote:
<font face="Verdana, Arial" size="2">Originally posted by ApoK_DragonPhinn:
Problem! It still won't work. Here is the cog I wrote:

Code:
# Jedi Knight Cog Script
#
# DPC.COG
#
# Major thanks to Hell Raiser for getting this cog off the ground.  Much obliged
#
#
# (C) 2000 DragonPhinn of the Apocalyptic Knights 
#
# 
        


The entered part does not work at all. It won't change the camera, display the text, or deactivate the forcefield. I don't think it's being triggered.

The activated part is for consoles which display the forcefield. The camera angle changes, sleeps, then changes back properly, however it does not display the text in the "blown" if statment.

Help?</font>

2001-03-22, 3:10 PM #2
Is this the problem where you want the canister to be dropped down a shute and explodes to deactivate a forcefield?

I thought I mentioned that you could use the 'removed:' message for the canister's custom cog to trigger the event.

Raynar

------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-03-22, 3:57 PM #3
But the canister cannot check to see if it is in the appropreate sector. I would need to pass a symbol for that, which isn't allowed on template cogs.
2001-03-22, 5:52 PM #4
I don't know if I'm getting what you mean by template cogs right. You mean the cog attached to a template in the templates section of the jkl file, right?

If so, then you could probably make it like one of thos placed cogs in JED, and specify the forcefield and conatainer.

jh
2001-03-23, 2:23 AM #5
Try using CaptureThing(canister); in your code, where canister is the name of the canister. That way, you'll be sure to recieve the messages from it. Make sure to put it in the startup section, though, otherwise it will fail to work...

------------------
LordVirus: His pot is blacker than his kettle!

Visit Virus Productions!
"And lo, let us open up into the holy book of Proxy2..." -genk
His pot is blacker than his kettle!

↑ Up to the top!