Re: Hmm, I am experiencing technical difficulties. (TADS)


25 Mar 1995 19:37:32 GMT

In <3l0fq5$963@oravannahka.Helsinki.FI> lavonius@cc.Helsinki.FI (Ville
Lavonius) writes:

>Exactly, I tried to def "south" etc. as adjectives, and that was no
>end of trouble... Had to kludge the thing, and it's far from seamless.
>In Field Trip 1.1 the problem will be looked at. I probably oughta
>rewrite the whole game (sans prose) since most of it is just learn-as-you-go
>trial and error stuff.

I got around this by using 'southern', 'northern', etc. as adjectives. It
doesn't seem too awkward, but remember to use them in all of your prose too.

>The only thing holding back the release of FT (apart from another round
>of betatesting) is the niggly thing that I cannot get NPCs to see objects
>held by the player... I've fiddled with the isVisible-routine and
>either am seriously on the wrong track with it or have discovered a
>bug (TADS reports the items held by the player as having location=nil).
>I'd include an excerpt from the game, but it's not at hand here.

If you want to see if an actor can see something and you want him/her/it to
be able to see things held by the player, first check to see if the actor is
carrying the object. If not, then call checkReach and pass <Me> in as the
actor parameter instead of the current actor. This is a quick hack that
works only when the actor and player are in the same room, but it was
sufficient for my purposes.

-- 
John Baker
"What the hell does that mean?  Huh?  'China is here.'?
 I don't even know what the hell that means!"
        - Jack Burton