Missing function in ConvLibrary

scrimshaw04
10 Jun 2018, 12:11

Hey there, I'm using Pixie's conversation library to create dialogue with my characters, but I've encountered a problem I can't seem to solve.

The library uses a function called 'P', but I have no idea what this function is supposed to do. Without it, all I get is an error stating "Error running script: Function not found: 'P''. Is there something that I've missed?


mrangel
10 Jun 2018, 14:02

I never heard of that one before.


K.V.
10 Jun 2018, 18:06

It prints a msg. It should be built into Quest, unless you are running a version before CoreWearable was added in 5.7.1.

https://github.com/textadventures/quest/blob/master/WorldModel/WorldModel/Core/CoreWearable.aslx

See line 754.


This is the function, if you need it:

<function name="P" parameters="s">
    msg(s)
</function>

K.V.
10 Jun 2018, 18:18

Which version of Quest are you running?


CheeseMyBaby
11 Jun 2018, 11:46

I've experienced something similar with the ConvLib.
Every time I add it to a new game and run the game I get an error that it can't find the function called "Print".
I've always just created an empty function and named it Print and that has seem to fix it.