Say function mysteriously broken for one specific character?

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
likeswimwear
Newbie
Posts: 1
Joined: Wed Nov 14, 2018 11:50 am
Soundcloud: spinstress
Contact:

Say function mysteriously broken for one specific character?

#1 Post by likeswimwear »

I have tried and tried to figure out just what is going on here, but tragically my knowledge of the code behind the engine is just not there yet. I'm assuming it's a very simple solution, but I'm stumped.

A character in my novel first appears as a disembodied voice, then appears and gets a name and a sprite. I did this with two different characters, and everything was working fine up until and including my test of the second character's (the embodied) first line of dialogue. I then wrote a big chunk of dialogue for said character, only to go back and find that any attempt to display this character's dialogue now causes an error:
While running game code:
File "game/script.rpy", line 1190, in script
m "I was hoping you would say that."
Exception: Parameter 'interact' is not known by ATL Transform.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 1190, in script
m "I was hoping you would say that."
File "/Users/Jay/Desktop/renpy-7.1.1-sdk/renpy/ast.py", line 678, in execute
renpy.exports.say(who, what, interact=self.interact, *args, **kwargs)
File "/Users/Jay/Desktop/renpy-7.1.1-sdk/renpy/exports.py", line 1204, in say
who(what, *args, **kwargs)
File "/Users/Jay/Desktop/renpy-7.1.1-sdk/renpy/atl.py", line 433, in __call__
raise Exception('Parameter %r is not known by ATL Transform.' % k)
Exception: Parameter 'interact' is not known by ATL Transform.

Darwin-16.7.0-x86_64-i386-64bit
Ren'Py 7.1.1.929
bloom 1.0
Wed Nov 14 10:43:55 2018
I don't know why 'interact' is being fed into ATL?? I haven't messed with any of the other script files either. Attaching the script file in case that's needed.
script.rpy
(30.71 KiB) Downloaded 12 times
Please help this poor schmuck!

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Say function mysteriously broken for one specific character?

#2 Post by Alex »

Somewhere in the script.rpy you've redefined your m character to transform m, a-a-nd - got an error while trying to use m as a speaking character...

Code: Select all

    "The meadow blurs before as you're jerked backwards,
    passing through the darkened veil of the doorway."

    transform m:
        linear 3 zoom .1

    hide m
    with dissolve

    play sound "doorslam.mp3"

    scene bg door
    with fade

    "Your feet find the floor of that same strange hallway as the door you just
    flew out of slams in your face."

    "Intuiting that you may have just limited the options available to you, you
    give the knob of the freshly slammed door a firm jiggle."

    play sound "<to 1>lockedhall.mp3"

    "It's just as you suspected. {w} The door is now locked."

    $ door1open = "False"

    play sound "<to 1>hallwalk.mp3"

    scene bg sky

    show hall source:
        zoom .5
        truecenter

    jump door_menu


label supreme_proof:

##


label supreme_hallmaker:

##


label supreme_stroll:


    m "I was hoping you would say that."

Post Reply

Who is online

Users browsing this forum: No registered users