Search found 4 matches
- Sat Jun 16, 2018 1:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: if statement always false
- Replies: 6
- Views: 922
Re: if statement always false
On a side note if i may ask (learning coding still) what exactly does this part do: python: a = renpy.random.randint(0, 10) b = renpy.random.randint(0, 10) del a del b a = renpy.random.randint(0, 10) b = renpy.random.randint(0, 10) I understand the first two lines chose a random number between 0 an...
- Sat Jun 16, 2018 9:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.input adding character name gives syntax error
- Replies: 1
- Views: 423
renpy.input adding character name gives syntax error
I am having a small problem with renpy.input. When I write a narrator line between the brackets it works just fine but when I write a dialog line it gives me a syntax error. Is it possible to input something while a character is asking a question or saying something? I know I could write the questio...
- Sat Jun 16, 2018 7:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: if statement always false
- Replies: 6
- Views: 922
Re: if statement always false
I could be wrong on why this is the case but i think its because the text input is a string while the number is an integer. (i hope someone knows how to explain this better as i am not good with this myself) So mitoky's nailed it I think that the issue is because renpy.input returns a string, so yo...
- Fri Jun 15, 2018 7:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: if statement always false
- Replies: 6
- Views: 922
if statement always false
Hello, this is my first post here, so I apologize beforehand for any mistakes. I didn't find an answer to my question anywhere on the internet and I'm slowly starting to get frustrated with the development of my school project. My problem is that every if statement always comes out false when I add ...