Hey, guys! Kind of a silly question here, but how do I insert a "%" sign in my dialogue in ren'py?
What special thing do I need to do? e.g. to insert quotation marks you need the "\"Quotation marks\"" sign, what do I need to do for ren'py to not recognize "%" as a code, but just a part of the dialogue?
Thanks!
How to insert % sign in dialogue [solved]
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.
- AsHLeX
- Miko-Class Veteran
- Posts: 556
- Joined: Wed Dec 25, 2013 1:09 pm
- Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
- Projects: Cafe Mysteria
- Location: Malaysia
- Contact:
How to insert % sign in dialogue [solved]
Last edited by AsHLeX on Sat Oct 06, 2018 9:45 am, edited 1 time in total.
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: How to insert % sign in dialogue
You don't need to do anything special. In a string '%' is the same as any letter.AsHLeX wrote: ↑Sat Oct 06, 2018 8:28 am Hey, guys! Kind of a silly question here, but how do I insert a "%" sign in my dialogue in ren'py?
What special thing do I need to do? e.g. to insert quotation marks you need the "\"Quotation marks\"" sign, what do I need to do for ren'py to not recognize "%" as a code, but just a part of the dialogue?
Thanks!
"You just put % in a string"
- AsHLeX
- Miko-Class Veteran
- Posts: 556
- Joined: Wed Dec 25, 2013 1:09 pm
- Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
- Projects: Cafe Mysteria
- Location: Malaysia
- Contact:
Re: How to insert % sign in dialogue
Thanks very much for the reply!!
I get an "unsupported format character" error if I do that, though.
All good, I just remembered that it's supposed to be "%%" if I want to use %.
I get an "unsupported format character" error if I do that, though.
All good, I just remembered that it's supposed to be "%%" if I want to use %.
Who is online
Users browsing this forum: Bing [Bot]