Clear side image attributes

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
rames44
Veteran
Posts: 233
Joined: Sun May 29, 2016 4:38 pm
Contact:

Clear side image attributes

#1 Post by rames44 »

I have a character with a variety of side images:
side paul
side paul confused
side paul angry
side paul sad

If I use a sequence like:

Code: Select all

paul confused "What's going on?"
peter "Good stuff"
paul "OK"
I get the correct "confused" side image for Paul on the first line, but then on the third line, I still get the "confused" side image. What I'd like is to revert to the image without any attributes.

I can do that by saying

Code: Select all

paul neutral "OK"
because there is no image with "neutral" attribute, but then "lint" complains.

Is there a way to force Ren'py to clear image attributes so that I get what I'm looking for? Or, if I use attributes, can I not use an attribute-less side image?

Post Reply

Who is online

Users browsing this forum: No registered users