How To use Event function?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
pristo2007
Newbie
Posts: 1
Joined: Mon Jul 01, 2013 2:59 am
Contact:

How To use Event function?

#1 Post by pristo2007 » Mon Jul 01, 2013 3:03 am

Can someone explain me how to use the "event" functon in renpy and a small example please :)

User avatar
qirien
Miko-Class Veteran
Posts: 504
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Contact:

Re: How To use Event function?

#2 Post by qirien » Tue Jul 02, 2013 1:01 pm

event() is a function from the Dating Sim Engine. Probably the best examples can be found in the Dating Sim Engine code itself. Once you download it, run the example game and then look at events.rpy in the game directory. It has examples for lots of different kinds of events.

Does that help at all?
Finished games:
Image
Image
Image
In progress: Our Personal Space 2: Space to Grow

Post Reply

Who is online

Users browsing this forum: No registered users