Posted by Raptor [JiB] on February 01, 1998 at 18:07:16:
In Reply to: Re: Alternative to "touched" message. posted by CogKing on February 01, 1998 at 15:42:37:
> > OK. Cogking told me that if I put a touched message in kyle.cog, then the commands I put in that section will only work when a moving object touches the player. Can anyone think of an alternative so if anything touches the player (walls, floors) the commands are carried out? Thanks.
> No. I don't think there is an easy way to do that.
> You can play with GetThingSector(), then the cog verbs to enumerate the
> surfaces in the current sector, compute the distance from the player to these
> surfaces, etc. but I think it will be a pain IMHO...
> What do you want to do exactly ?
I don't want to use a cog to make every surface damaging.
> -CogKing