Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what has happened to this news group

152 views
Skip to first unread message

Brian

unread,
Nov 2, 2012, 8:05:48 PM11/2/12
to
In reading documentation on inform I am often referred to this news group
if I need help in using the inform code but there is very little response
from anybody.

--
Regards Brian

Nikos Chantziaras

unread,
Nov 2, 2012, 8:50:58 PM11/2/12
to
On 03/11/12 02:05, Brian wrote:
> In reading documentation on inform I am often referred to this news group
> if I need help in using the inform code but there is very little response
> from anybody.

Most people only read the forums these days:

http://www.intfiction.org/forum

Hannes Schüller

unread,
Nov 3, 2012, 4:51:00 AM11/3/12
to
Brian <bcl...@es.co.nz> wrote:
> there is very little response
> from anybody

Apart from what Nikos said, another reason is probably that your
questions are mostly very basic and people get tired of pointing you
towards the Inform manual which answers most of them in detail already
and you seem to show very little incentive to experiment with the
language yourself. At least those are my impressions.

Hannes

Brian

unread,
Nov 3, 2012, 8:48:48 PM11/3/12
to
It might seem that way but I am currently studying the manual and read The
Inform 7 Handbook. I found the source code for Zork written for Inform 7
very helpful to study. I also experiment with the code to find out what is
possible.
However there are times when I do get stuck and can't find a solution to
overcoming code problem so a bit of help would be useful as I am new o the
language.

For example one of my questions was to have some text displayed after 3
turns.
I tried the code that I thought would work
Every Turn:
On the third turn, say "a bird flys by".

Which didn't work. Then I tried rewording the text. It is possible that it
is something that Inform 7 can't do so no matter what I try it is not going
to work. This is when I turn to a inform newsgroup in hope of an answer.

--
Regards Brian

Otto Grimwald

unread,
Nov 6, 2012, 2:55:02 PM11/6/12
to
On 04/11/2012 01:48, Brian wrote:

> For example one of my questions was to have some text displayed after 3
> turns.
> I tried the code that I thought would work
> Every Turn:
> On the third turn, say "a bird flys by".
>
> Which didn't work. Then I tried rewording the text. It is possible that it
> is something that Inform 7 can't do so no matter what I try it is not going
> to work. This is when I turn to a inform newsgroup in hope of an answer.

I think you're trying to guess the Inform equivalent to an English
sentence. You'll find valuable samples of code to study in the Inform
Recipe book. I don't think you can say "on the third turn".

Maybe there are other (better) possibilities, but for achieving what you
want I'd write:

Acte1 is a scene.
Acte1 begins when play begins.
Acte1 ends when the time since Acte1 began is 3 minutes.

When Acte1 ends, say "a bird flies by".


(read chapter 4.4 in Inform Recipe book)





kelsey...@gmail.com

unread,
Nov 20, 2012, 1:04:24 PM11/20/12
to
The way Otto suggested will work. Another way to do it create a future event that reschedules itself.

When play begins:
a bird appears in 2 turns from now.

At the time when a bird appears:
say "A bird flies by.";
a bird appears in 2 turns from now.

I got this from the Inform 7 Programmer's Manual, page 12. It can be found here: http://www.plover.net/~pscion/Inform%207%20for%20Programmers.pdf
0 new messages