Forum

> > Stranded II > Scripts > Diary entries & npc talk
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Diary entries & npc talk

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Diary entries & npc talk

BountyHunter
User Off Offline

Zitieren
I know it's stupid question perhaps, but I'd like to know how to write simple script. How to make diary entries & make NPC talk like "that pirate" with buttons of possible answers to their words.

alt Re: Diary entries & npc talk

Klirkz
User Off Offline

Zitieren
The easiest way is probably to place an Info somewhere on the map (e.g. a text container, a flag, ...)
There you should insert the "page=start..." thing in its script.
Example:
Spoiler >


Now this is just a dialogue laying somewhere on the map. But remeber the ID of that Info, so you can put that dialogue in the mouth of any character you wish. Let's say it's 5.

Now insert your dialogue command in that event, that should open the dialogue (if you want it to start with the right click on the pirate, put the on:use event inside the pirate's script):
on:use {
dialogue "start", 5;
}

5 is now the ID of your Info and "start" is your start-page. You could also put there "continue1", if you want your dialogue to begin there... now it's up to your creativity!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht