Posted by matt on November 17, 1998 at 14:24:11:
How do you make it so a non-player character sends messages to a cog? I checked the specs and I know it has something to do with masks but there were no real specifics. I'd like to do something like have a door open when an R2 unit crosses an adjoin. Also, what actual coding would I use to get the message from the R2 unit? What I mean is, would I use 'getsourceref()' or 'getsenderref()' and how would the R2 unit figure into that if it was coded as, say, 'moveobj'? this is pretty vague I know but it's just a basic cogging question that I'd like to apply to lots of cogs, that's why I can't just post a cog and have someone tell me what's wrong with it. Boy, what a windbag. Sorry so long. Can anyone help? You'd be awesome if you did.