R11 Imagemap simple question

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
Simulacro
Regular
Posts: 35
Joined: Tue Aug 03, 2010 9:38 am
Contact:

R11 Imagemap simple question

#1 Post by Simulacro »

That I've been unable to figure out...

I'm currently using the old imagemap function but the new one here looks so much more elegant. But it seems to work differently, everything seems to happen with clicked.

Before, $ result = renpy.imagemap(....) would give me a variable to work with, which I could use for whatever I needed.

Is there anyway to make the new one function like the old one, so I can call it and then use the returned value?

Simulacro
Regular
Posts: 35
Joined: Tue Aug 03, 2010 9:38 am
Contact:

Re: R11 Imagemap simple question

#2 Post by Simulacro »

EDIT:
Managed to make it work!

Show screen was not the way to go, but call screen and reference to the _return variable!

Post Reply

Who is online

Users browsing this forum: No registered users