Forum

> > Stranded II > General > Sign Board Help?
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Sign Board Help?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Sign Board Help?

Xaeveax
User Off Offline

Zitieren
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?

alt Re: Sign Board Help?

DC
Admin Off Offline

Zitieren
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"
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht