Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Image in sidebar (sugarcube)

edited April 2015 in Help! with 1.x
Hi everyone, I'm wondering if it's possible to display an image in the top of the sidebar. Tinkering with the stylesheet (standard Bleached) hasn't gotten me anywhere.

I'm hoping it's possible to change which image is displayed in the sidebar throughout the game (changing facial expressions, sort of la Doom). Is this possible?

Thanks, greatly appreciate the help!

Comments

  • You can put your image in the StoryBanner special passage.  As to changing it, you could use the <<if>> macro.  For example:

    <<nobr>>
    <<if $expression is "neutral">>
    [img[]]
    <<elseif $expression is "happy">>
    [img[]]
    <<elseif $expression is "sad">>
    [img[]]
    <<elseif $expression is "angry">>
    [img[]]
    <<elseif $expression is "shocked">>
    [img[]]
    <</if>>
    <</nobr>>
  • Wow, that was an easy solution  :-[ Works great so far, will try switching between pictures next. Thanks a bunch!
Sign In or Register to comment.