Posted by Raptor [JiB] on February 01, 1998 at 18:09:50:
In Reply to: Re: Switches... posted by Master Milo on February 01, 1998 at 16:40:06:
> > > i don't know how,
> > > but how does one put a switch on a console/item?
> > > instead of putting the sector and surface on the 'button' space
> > > can u put the number of the item?
> > Instead of :
> > surface mySwitch
> > use something like :
> > thing myConsole
> > and in the activated: event handler do what you wanna do.
> > Do not try to use things like SetWallCel() etc. :-)
> > -CogKing
>
> im not a COG programmer kinda of a guy, but do i have to do this in order to
> make a switch on an item?
It shouldn't be too hard. Look in the original cog and change all the surfaces to things like cogking said