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.
Now it displays the whole thing quite nicely BUT when I change self.CombatCurrentlyActiveChar the "ImageReference("CombatUI InitiativeSlotBorder") " is still at the old location. So my question is there what am I doing wrong there?
Edit:
The line where I change it is the following (I also tried adding renpy.restart_interaction to no avail):
I'm not 100% sure because I haven't delved into screen language and really studied the inner workings, but based on my experiences with other things, I would assume it's the usual name tags not boxes problem. http://lemmasoft.renai.us/forums/viewto ... 96#p362587 (see also the link in that post)
philat wrote:In other words, show the screen again.
Yeap, it's a bit weird that you assume that they should be updated when if it was a function, transform or a method you use in Python/Ren'Py, they would not be... You can also use global or default, default you can update with screen actions and global will be updated when interactions restarts (and screen is updated).
It's hard to pinpoint with only this section of code. It might actually have to do with how you've defined ImageReference, but all I can do is guess with this amount of code (because it references other code and who knows what that's doing).