Page 1 of 1

Changing pictures?

PostPosted: Wed Jan 17, 2018 1:49 pm
by P/o Prune
Is it possible to have a picture showing for a certain amount of time?

I've got 3 pictures.
1. Is the location when the player first enter.
2. Is where he blows a hole in the wall.
3. Is the same picture as location 1, but showing a massive hole in the wall.

I have created a task: Blow up wall, with the picture of the explosion. The action ends with the command "Execute Look"
It works ok as so far that picture 1 and 3 are shown, but not the explosion.
Is it possible to have the picture of the explosion showing for, say 10 seconds and then move to the new location picture?

Re: Changing pictures?

PostPosted: Thu Jan 18, 2018 1:05 am
by ice_wanted
From the wiki (second paragraph)

You can insert graphics into a piece of text by selecting the Graphics tab on the right hand side. This provides a handy preview and URL. You can enter a filename, or a URL from the Internet here. Internet images will be downloaded on the fly, which can minimize the size of your adventure. By default, this will display the graphic at the start of the section of text.

It is also possible to insert multiple images in any piece of text by using <img> tags. The format is <img src="filename or url">. Using the <img> tags also allows you to customise exactly where in the text it will appear. This is useful if, for example, you have <waitkey> or <wait X> tags in your text.

Re: Changing pictures?

PostPosted: Thu Jan 18, 2018 1:35 am
by saabie
Like this?
(82.65 KiB) Downloaded 35 times

The explosion picture is in the press button task which is shown until 5 seconds later when the timed event starts and does a "Look" to show the second picture and changed room description in an alt-desc with the restriction that the button pressing task has run.

Re: Changing pictures?

PostPosted: Thu Jan 18, 2018 9:36 am
by P/o Prune
Saabie, that exactly what I needed... Is it possible to get a taf file so I can see how you did it?
The Blorb file will not open in the developer.

Re: Changing pictures?

PostPosted: Thu Jan 18, 2018 10:42 am
by saabie
(15.91 KiB) Downloaded 35 times

Re: Changing pictures?

PostPosted: Thu Jan 18, 2018 12:49 pm
by P/o Prune
saabie wrote:

Owe you big time.. Whenever you come to Denmark look me up.. I'll buy you a beer. :wink: