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 → trap cogs
trap cogs
2001-11-28, 3:42 PM #1
I need a cog that will drop 20 thermal detenators into a sector whena button is pressed. I also need the same cog, but using flash gernades. Thanks! [http://forums.massassi.net/html/biggrin.gif]

------------------
Today is a good day to die...
I find your lack of pants disturbing...
2001-11-28, 4:10 PM #2
How about 1 cog, thatll do bolth? [http://www.plauder-smilies.com/spiny.gif]


Code:
#11/2001 GBK
Symbols
Message Activated
Surface Switch
Thing Ghost
Template Type
Int Howmany=20
Flex Createdelay=0.1
Int I=0    Local
End
Code
Activated:
If(Getsenderref() == Switch) {
For(I=0;I<=Howmany;I=I+1) {
Creatething(Type, Ghost); 
Sleep(Createdelay); } }
Stop;
End



Donno if it works, I just typed it into the box. But it should... [http://forums.massassi.net/html/biggrin.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!