Can I manually change the "_last_say_who"?
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.
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.
Can I manually change the "_last_say_who"?
The only way I can define the "_last_say_who" is when I call a text box or I can do it manually as a variable?
Re: Can I manually change the "_last_say_who"?
Well, I would assume there's no reason you can't set it manually, but it would be overwritten as soon as the next say statement. Why do you need to?
Re: Can I manually change the "_last_say_who"?
I don't know how to do it.philat wrote:Well, I would assume there's no reason you can't set it manually, but it would be overwritten as soon as the next say statement. Why do you need to?
My character image os based on it, so I want more ways to manipulate it.
Re: Can I manually change the "_last_say_who"?
...then don't use _last_say_who to control your character image? _last_say_who is updated by the engine on every say statement. If you want to control the image manually, use a different, non-system variable.
Re: Can I manually change the "_last_say_who"?
philat wrote:...then don't use _last_say_who to control your character image? _last_say_who is updated by the engine on every say statement. If you want to control the image manually, use a different, non-system variable.
Due to my scheme I prefer to use it, there is a way to change it, other than automatically?
@edit
I mean, I need a way to edit it between scenes, not in image definition
- Ocelot
- Lemma-Class Veteran
- Posts: 2399
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Can I manually change the "_last_say_who"?
Did you try to assign to it?
Like _last_say_who = 'someone'?
Like _last_say_who = 'someone'?
< < insert Rick Cook quote here > >
Re: Can I manually change the "_last_say_who"?
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 3561: expected statement.
Like _last_say_who = 'mc'
^
Ren'Py Version: Ren'Py 6.99.11.1749
Re: Can I manually change the "_last_say_who"?
It should be:mahoop wrote:that's what I gotCode: Select all
I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 3561: expected statement. Like _last_say_who = 'mc' ^ Ren'Py Version: Ren'Py 6.99.11.1749
Code: Select all
$ _last_say_who = 'mc'
Re: Can I manually change the "_last_say_who"?
Perfect! That's what I wanted!xela wrote: It should be:Code: Select all
$ _last_say_who = 'mc'
Who is online
Users browsing this forum: Ahrefs [Bot], Andredron, Bing [Bot]