Repeating Conversation Topics [SOLVED But...]

Anonynn
26 Jun 2018, 05:53

Hello all! :D

So I'm using the ConvLib Library and I was wondering if there was a way so that when a Player clicked on the Conversation Topic (NOT the Starting Conversation Topic), it would reappear as a Topic until the Player passed a specific scenario. Like ...you can't bother this guy until you've done so and so and then you can use the Topic. I just don't want it disappearing upon the Player selecting the Topic without having met the parameters first.

Am I making sense?

Would it be something like...

hide.Favor=True
hide.Favor=False

Instead of having it automatically hide after showing?

Anonynn.


Richard Headkid
26 Jun 2018, 05:58

Hello.

Does this help?

Or maybe this?

If not, why not? What's your dealio? You got beef? (Or Spam?)

If so, what's up with it? You trying to start a fight?!?

I'll fight ya' with one hand tied behind my back!

I'll fight ya' with my eyes closed!!!


Anonynn
26 Jun 2018, 06:14

Heya Head Case...I mean Headkid ....

:D

Shut up, Mugsy.
Shut up, shuttin' up!

Repeating topics

By default, topics are hidden after they are seen, but you can stop that for a specific topic by unticking the "Automatically hide" checkbox.

Sometimes you might want a topic to keep appearing in the list. Perhaps the character has asked for some item, and the player can use this topic to give it to her. The player can keep picking the topic, but it only disappears once the item is handed over.

^ this sounds like what I need but it doesn't tell you how to hide it once the "item or scenario" is met.

Anonynn.


Richard Headkid
26 Jun 2018, 06:21

This is in the library:

  <!--
  Hide the given topic. Note that if the topic is not currently shown, this will stop it ever appearing.
  -->
  <function name="HideTopic" parameters="o">
    do(o, "hide")
  </function>  


So, you can probably do this (assuming the topic isXanMagSucks):

HideTopic(XanMagSucks)


Anonynn
26 Jun 2018, 06:25

Well, we wouldn't want to hide that XanMag sucks though would we? That should be quite obvious for everyone to see >:D

I think...

HideTopic(Favor) should work. 

I'll have to check it tomorrow though because I'm utterly exhausted tonight and need to get some rest. I am weak.

Thanks so much KV! I'll make this solved once I check it tomorrow --- assuming it works. If it doesn't, I'm coming for you..."From now on, you better be lookin' behind you when you walk 'cause one day you're gonna get a bullet in your back."

Anonynn.


CheeseMyBaby
26 Jun 2018, 09:38

When I want a topic to not appear I just script a MoveObject (ConversationTopic, TalkVoid) to get rid of it.


Richard Headkid
26 Jun 2018, 17:43

Well, we wouldn't want to hide that XanMag sucks though would we? That should be quite obvious for everyone to see

Eww! I don't wish to see him suck anything!

I mean, what a man puts in his mouth is his business, but I'd rather not watch.


I am weak.

You said it, not me.


If it doesn't, I'm coming for you.

Ooh! I'm shakin' in my boots!

...which are made for walking...

...and, one of these days, these boots are gonna...

Bam! Right in the kisser!!!


"From now on, you better be lookin' behind you when you walk 'cause one day you're gonna get a bullet in your back."

Hey! You're "Mad Dog" Tannen, ain't ya'?


When I want a topic to not appear I just script a MoveObject (ConversationTopic, TalkVoid) to get rid of it.

That should work, too.

(I wonder if we could just set visible to false?)


XanMag
26 Jun 2018, 20:11

^Human piñata. I can take a beating.

Bring it on, suckers!!

And just for that, I’m going to scoop up the next spam I see and paint the walls on your “in box” with it!


K.V.
26 Jun 2018, 21:58

Hey, XM...

Those first two lines in your post? That's what SHE said!


...then you said the last line just before the finale.


Doctor Agon
26 Jun 2018, 22:52

@KV
Angels and ministers of the internet defend us,
Be you a spirit of health or gremlin damned

The ghost of KV, He's Alive!!!
The lure of the forum was too great huh?


K.V.
27 Jun 2018, 00:07

Hello!


I bring with me airs from America and blasts from... America!
My intents doth be both wicked and charitable.


The lure of the forum was too great huh?

Affirmative.

I tried to kick it, but it keeps callin' me, man! It keeps callin' me!!!


Richard Headkid
27 Jun 2018, 00:10

Man... I think my split personality is having an identity crisis!

(I paraphrased Shakespeare and a line from New Jack City in that last post. That can't bode well!)


hegemonkhan
27 Jun 2018, 16:21

just don't become hamlet, macbeth, juliet, romeo, or ophelia, wink :D

https://www.youtube.com/watch?v=fZ9kh8W98LA (profanity)

https://www.youtube.com/watch?v=-i0wNRnI84g (profanity, nudity, violence/gore)

(Yagi's 'Ophelia' character in his Claymore anime+manga is based upon the 'Ophelia' character in shakespeare's hamlet: she goes crazy/insane and drowns to death: https://en.wikipedia.org/wiki/Ophelia )


Anonynn
27 Jun 2018, 21:42

Ha!

You got the BTTF3 quote very nice!

And yup the conversation thing worked! Thank you so much everyone :D

Anonynn.


Anonynn
28 Jun 2018, 01:26

I don't know how to post a snap of a capture in this forum. But I got an error when trying to use the Quest Default save ...

Function not found : -HideTopic

Anonynn.


Richard Headkid
28 Jun 2018, 06:19

The latest version of ConvLib is 3.2. It has the function HideTopic.

Your version of ConvLib is 3.0, and it does NOT have the function HideTopic.

Here is the function:

  <!--
  Hide the given topic. Note that if the topic is not currently shown, this will stop it ever appearing.
  -->
  <function name="HideTopic" parameters="o">
    do(o, "hide")
</function> 

You might want to add this, too:

  <!--
  Show the given topic. Note that if the topic has already been shown and then hidden, this will have no effect.
  -->
  <function name="ShowTopic" parameters="o">
    do(o, "show")
</function> 

...or you might just want to download the latest version of ConvLib (but not if your ConvLib is modified!):

https://github.com/ThePix/quest/blob/master/ConvLib.aslx


Anonynn
28 Jun 2018, 17:30

Ah! I didn't know there was a new version out. I don't think I modified it...That's one of the more complicated libraries that I don't mess around with xD

Thanks so much KV!

Anonynn.


CheeseMyBaby
29 Jun 2018, 10:08

Thanks indeed. I never have the updated version of libs. Might as well start now.... to try.... at least.