Xbozon / storyteller

A small modification that allows you to present the story in the game as an open book.
Apache License 2.0
16 stars 9 forks source link

Can't link to specific pages within a story to only one player #53

Closed Sternss0n closed 1 year ago

Sternss0n commented 1 year ago

Hey!

Trying to make a trigger tile that opens a specific page of a story sheet for the triggering player. Is that possible with the current tools?

Xbozon commented 1 year ago

@Sternss0n

Sorry for the long reply, yes, it is possible. Use the showStoryToPlayerOnly method instead of the normal showStoryByIDToAll.

Sorry I didn't add it to ReadMe

game.StoryTeller.showStoryByIDToAll("qoWx7HNFZN1jgECs")
game.StoryTeller.showStoryToPlayerOnly("qoWx7HNFZN1jgECs")