A "book" in the game

Started by Chosim, Fri 17/06/2011 13:34:08

Previous topic - Next topic

Chosim

Hi, Is it again me. (Yeah I ask very often for help)

So, this time I want to ask, how can I programm a Book what I can flip and write itself after a special event.

Example:

I open a door and in the book stand, another sentence like before.

Okay the example is not good but with my poorly english i dont come further  ;D
--------------------------------------------------------------------------------------------------
|                             Internet Spaceships is Serious Business                                    |
--------------------------------------------------------------------------------------------------

Khris

I believe somebody wrote a module for that.

Basically you use a GUI, but two labels on there (they support word wrapping) for the text and use two buttons to turn the pages.
Store the contents of the pages in an array of strings and put it in the labels to display it.
You can append to strings, and I believe [ is used to insert a line break into a string.

Cabbage

Hi Chosim. I believe you may find this useful: Journal Maker Module.

Chosim

Uhm, The Link of the Journal Maker is an Error 404 and my WOT alerts me.  ;D


EDIT, EDIT: Okay found another Site to download the Module.  ;) Thanks!
--------------------------------------------------------------------------------------------------
|                             Internet Spaceships is Serious Business                                    |
--------------------------------------------------------------------------------------------------

SMF spam blocked by CleanTalk