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 → I need a cog...
I need a cog...
2001-12-19, 6:17 PM #1
ok its simple really, as soon land on a surface, a Big explotion will happen, like maby a XTank Explotion? or i could select the item and it would drop from a ghost pos, like mines or somthin......

------------------
---
So wipe that stoopid grin off'n yore face or I'll do it for yer.
- Nimbalo
2001-12-20, 11:43 AM #2
Ahh, the joys of cogging. Credit me.... [http://forums.massassi.net/html/biggrin.gif]


Code:
#12/2001 GBK
Symbols
Message Touched
Message Entered
Surface Trigger
Thing Ghost
Template Bomb_type
Int Lock=0     Local
End
Code
Entered:
Touched:
If(Lock != 0) Stop;
Creatething(Bomb_type, Ghost);
Lock=1;
Stop;
End



I dont know if it works, 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.
2001-12-20, 3:29 PM #3
What's this stop command?
Shouldn't it be return; ?
2001-12-20, 3:36 PM #4
Same thing.
2001-12-20, 3:40 PM #5
Yeah, so I use 'Stop'. You have a problem with this!? It works the same as 'Return', and its easier to type. So I use it. And theres nothing you can do about it. So there. [http://forums.massassi.net/html/tongue.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-21, 11:02 AM #6
Well anyways, its for my Sky Dive level..... as you fall you hear a clip of A Korn Song, once you hit the ground BOOM!
Thanx again GBK

------------------
---
So wipe that stoopid grin off'n yore face or I'll do it for yer.
- Nimbalo
2001-12-21, 11:03 AM #7
P.S is there a way i can use more then 1 Ghost?
2001-12-21, 11:16 AM #8
And 1 more thing, how can i get it To Loop? like keep doin it?
P.S i edited the cog abit for more ghosts.....
2001-12-21, 1:36 PM #9
Code:
#12/2001 GBK
Symbols
Message Touched
Message Entered
Message Pulse
Surface Trigger
Flex Pulserate=1.0
Thing Ghost0
Thing Ghost1
Thing Ghost2
Thing Ghost3
Thing Ghost4
Int I=0     Local
Template Bomb_type
Int Lock=0     Local
End
Code
Entered:
Touched:
If(Lock != 0) Stop;
Setpulse(Pulserate);
Lock=1;
Stop;
Pulse:
For(I=0;I<=4;I=I+1) {
Creatething(Bomb_type, Ghost0); }
Stop;
End


This one will loop.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-22, 2:19 AM #10
I go with the legacy "return" [http://forums.massassi.net/html/smile.gif]

------------------
http://millennium.massassi.net/ - Millennium
2001-12-22, 2:19 AM #11
Although I do not cog anymore [http://forums.massassi.net/html/frown.gif]

------------------
http://millennium.massassi.net/ - Millennium

↑ Up to the top!