Hello
Im pretty new both to twine and to coding, but I tend to understand things rather quick.
I am using Twine 2 Harlowe 2, and am stuck on a stupid thing.
Since Harlowe does not allow any more or less reliable sidebars, Im using a header as a status bar. It will contain basic info like current status, links to detailed info and stats, and, which I find pretty important, a small image, avatar of a chosen character.
Character is chosen at the very start and remains unchanged, but the portrait may, as it indicates char's current state.
Now for the problem - how can I change the image in header, depending on the char choice? I was thinking on using setter links to set $mainAvatar to contain the html formatting, but it expectedly does no work..
So I was thinking maybe I could use some macro or command to assign certain tag (header) to precreated passage? Could not find it anywhere.
My next stop in my tries will be using a very complex if-else header system, but I am unsure how do do it correctly.