Forum

> > Stranded II > General > Sign Board Help?
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Sign Board Help?

3 replies
To the start Previous 1 Next To the start

old Sign Board Help?

Xaeveax
User Off Offline

Quote
I know I JUST asked for help, but I need to know how to script a sign board to say something, like a diary entry. I checked in the Survival Guide map (which comes with the game) by checking the scripts in those signs, but I dont know where to save the text I want on the sign, if thats how you do it. any help?

old Re: Sign Board Help?

DC
Admin Off Offline

Quote
3 ways:

> text container info
place a text container info on the map and put the diary text in the script field of this text container info. remember the ID of this info.
1
diary "title",ID;
where ID is the ID of the text container info (a number). maybe you have to put " " around the ID, but I think it should work without as well.

> textbuffer (text directly defined in your script)
add all lines for the entry line by line with add. you then have to omit the second parameter for diary!
1
2
3
4
5
clear;
add "line 1";
add "line 2";
add "line 3";
diary "title";

> external text file
1
diary "title","mytext.txt";
in this case mytext.txt has to be in the maps folder. the content of this file will be loaded as diary entry. the path is always relative to the maps folder. it is recommended to create a folder with the name of your map in the maps folder (mods/Stranded II/maps) and place the additional files into this folder!
the path would then be something like "mymap/mytext.txt"
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview