Re: Alternative to "touched" message.


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by CogKing on February 01, 1998 at 15:42:37:

In Reply to: Alternative to "touched" message. posted by Raptor [JiB] on February 01, 1998 at 07:26:09:

> 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 ?

-CogKing


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]