Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Sugarcube 2: Avatar in Sidebar

$
0
0
I want to assign every player a random avatar at the beginning of the game. This assigned avatar should then be seen in the sidebar.

So I would write for example on the start page:
<<set $avatar to either ("[img[ava1]]", "[img[ava2]]")>>
<<remember $avatar>>

Your avatar is $avatar

and in the special passage StorySubtitle just:
$avatar

1. Is this the perfect solution in the first place?
2. What if I would like to assign the avatar on the start page, but first show it in the sidebar on the second page?


thank you in advance!!






Viewing all articles
Browse latest Browse all 1844

Trending Articles