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 → Concussion cog
Concussion cog
2002-01-24, 7:08 AM #1
Where can i get a cog that enables a switch to make conc blasts to come from say a ghost position. Like from the level JHS or like the rail trap cog from the massassi cog download section. Would appreciate any info, thank you.
2002-01-24, 7:41 AM #2
Its been awhile since I made a trap cog... [http://forums.massassi.net/html/wink.gif]

Code:
#01/2002 GBK
Symbols
Message Activated
Surface Switch0
Thing Switch1
Thing Ghost
Template Type
Int Rounds=1
Flex Pause=0.1
Sound Firesound
Sound Beep
Int I=0       Local
End
Code
Activated:
Playsoundthing(Beep, Getsourceref(), 1.0, -1, 20, 0);
For(I=0;I<=Rounds;I=I+1) {
Fireprojectile(Ghost, Type, Firesound, 8, '0 0 0', '0 0 0', 1.0, 0, 0, 0); 
Sleep(Pause); }
Stop;
End


That should work.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-01-24, 8:05 AM #3
You shouldn't be playing a keyframe with FireProjectile().
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!