Posted by Rishka on April 20, 1998 at 00:44:36:
In Reply to: TIE Bomber Cog posted by Vizzini on April 19, 1998 at 16:21:21:
: Okay, I can place the TIE Bomber 3DOs just fine, but I don't want them to just sit there, I want them to make flybys and drop bombs (like on the rooftops in level 8 of JK). I can use an elevator cog to make them do flybys, but how can I make them drop bombs? And is it possible to make them appear when you flip a switch?
I suggest you look at 08_tiebomber.cog located in the JK1.GOB in the Episode directory. Also, look at 08_tiebomber3.cog to see how they're created and change it to create a bomber when the switch is activated...
: BTW, I have an idea for a cog- it would be a switch cog, it would make another cog start when you flipped a switch. This is possible, isn't it? You could just specify the cog that you want to start and make it so that it wouldn't do anything until you flipped the switch.
You can use the SendMessage() command to send a message to another cog. So if you activate a switch, it'd send a message (such as activated, entered, user0) to another cog.
Hope this helps...