This page is out of date

You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.

Some places to look are:

Please do not create new links to this page.


DynamicCharacter

Equivalent to calling with the same arguments, and with the dynamic argument set to true.

Basic example

init:
    $ povname = ""
    $ pov = DynamicCharacter("povname", color=(192, 64, 64, 255))

$ povname = renpy.input("What is your name?")
pov "My name is %(povname)s."

Two-part name example

This shows how two user-input names can be combined to make a single two-part name.

init:
    $ povname1 = " "
    $ povname2 = " "
    $ povnamefull = " "
    $ pov = DynamicCharacter("povnamefull", color=(192, 64, 64, 255))

$ povname1 = renpy.input("What is your first name?")
$ povname2 = renpy.input("What is your last name?")
$ povnamefull = povname1+" "+povname2
pov "My name is %(povname2)s. %(povname1)s %(povname2)s."