null
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.
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Random Sequence of Events in Renpy?
Code: Select all
label event:
$ randtick = renpy.random.randint(1,3)
show eileen happy dissolve
if randtick == 1:
e "Event 1"
jump event1
elif randtick == 2:
e "Event 2"
jump event2
else:
e "Event 3"
jump event3
Code: Select all
label event1:
$ randtick = renpy.random.randint(1,3)
show eileen happy dissolve
if randtick == 1:
e "1"
jump rand1
elif randtick == 2:
e "2"
jump rand2
else:
e "3"
jump rand3
Who is online
Users browsing this forum: Majestic-12 [Bot]