(Sorry if this doesn't make sense, I'm really new to coding language)
I was wondering if it's possible to define a certain variable yourself and place it within a block of text/dialogue. Maybe not using the define command I'm not sure, kind of how like whenever using renpy.input, and how you can insert a certain word wherever. I was wondering if that's possible but for a variable that you customize yourself and not the player?
Again I'm sorry if that didn't make any sense
Character variables within dialogue/text?
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.
- Milkymalk
- Miko-Class Veteran
- Posts: 753
- Joined: Wed Nov 23, 2011 5:30 pm
- Completed: Don't Look (AGS game)
- Projects: KANPEKI! ★Perfect Play★
- Organization: Crappy White Wings
- Location: Germany
- Contact:
Re: Character variables within dialogue/text?
Code: Select all
default something = "a ball"
label start:
"This is [something]."
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
- rusicaria
- Regular
- Posts: 84
- Joined: Sat Mar 28, 2020 12:26 am
- Projects: VivaCity (VN)
- Tumblr: rusicariaGAMES
- itch: rusicariaGAMES
- Contact:
Re: Character variables within dialogue/text?
hey thank you for your reply! I'm new to using Ren'py so I really appreciate the helpMilkymalk wrote: ↑Mon May 04, 2020 3:04 pmCode: Select all
default something = "a ball" label start: "This is [something]."
Who is online
Users browsing this forum: Starberries