Posted by Elanthil01 on February 23, 1998 at 09:04:53:
In Reply to: Re: Grrr. Stupid bloody CoGs-Help(again)!! :P posted by Stealth on February 23, 1998 at 03:47:52:
Whoa, thanks..I thought it was something small I wasnt understanding!
Stealth..thanks, about that NUMFRAMES setting tho..
The reason I want the cog itself to pull ALL its information from the values set in the THING editor is to make editing a things movement simple and easy.
A cog pulls its FRAME data from the values FRAME set in the thing editor, so, since I build the patrol route directly onto the thing itself using JED's thing editor, It makes it very simple to just pull the number of frames from there as well.
IF we can make the cog work this way, this means that the SAME cog can be used WITHOUT modification in any situation...
EX: move a bomber through a 50 frame patrol, which would let you attach another cog to the bomber to activate it as a 'turret' when a button is pushed in a secret area.
Ok..one other thing...Do I assume right that the cog you wrote requires you to move FROM frame zero, TO frame zero in a complete polygon (circle, whatever)
I hope so hehe..
My BIGGEST gripe so far with the cog *I* wrote (it works now..of course, I lost most of my sanity getting it there hehe) is that it moves forward through the frames, then for some bloody reason, it moves BACKWARDS through the frames even though I dont have ANY lines that tell it to do that!
Weird, huh?
Anyway...thanks..Im gonna go test the cog you wrote. I like it..its a lot more elegant..and SMALLER than the one I wrote too.