Search found 5 matches

by Phagocytosis
Wed Jun 23, 2021 11:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Ren'Py logging from a Python block?
Replies: 2
Views: 540

Re: Ren'Py logging from a Python block?

Whoah, you're right. What happened was that a while back, I was logging from Python blocks, and I started thinking it would be nice if I could log from outside Python blocks (which is silly, because outside Python blocks you only have to put a dollar sign and you can access Python functions). Later ...
by Phagocytosis
Wed Jun 23, 2021 10:07 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Ren'Py logging from a Python block?
Replies: 2
Views: 540

[Solved] Ren'Py logging from a Python block?

In short : I was wondering if there is a way to add a line to the Ren'Py log file (what you would normally do with renpy.log("line for the log file") ) while inside a Python block. Explanation : The line of code I gave just now does not seem to work inside a Python block; I could of course set up a...
by Phagocytosis
Mon Jun 21, 2021 6:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Manually set a textbutton to a state (e.g., idle)
Replies: 3
Views: 617

Re: Manually set a textbutton to a state (e.g., idle)

Wow, I can't believe I completely glanced over the SelectedIf section in the documentation. I worked it out now, after some more tinkering, and it seemed to work with both SelectedIf as suggested by Ocelot (cool name!) and the approach described by Asceai in the extra explanation linked by Alex. So ...
by Phagocytosis
Mon Jun 21, 2021 3:09 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Manually set a textbutton to a state (e.g., idle)
Replies: 3
Views: 617

[Solved] Manually set a textbutton to a state (e.g., idle)

Hi! In short : I am looking for a way to manually set a textbutton to "idle" based on some (external?) condition. I don't much mind whether it is to be written as some sort of conditional inside the block or line for the button (similar to SensitiveIf, but for idle rather than insensitive) or it can...
by Phagocytosis
Mon Jun 21, 2021 2:05 pm
Forum: Welcome!
Topic: Guestbook
Replies: 5383
Views: 1369296

Re: Guestbook

Hi, nice to meet you all! My name is Vincent and I'm from the Netherlands. I also like cats! :lol: I'm an amateur programmer with many ideas, mostly for simulations or simulation-heavy games, that I rarely finish. I'm currently working on a life sim project (just got started, really) that I hope wil...