Jump to content

Why won't this dialogue option work?


Recommended Posts

Posted

OK, I fear I've bothered Roger long enough with this, and he has been more than kind enough in guiding me. Yet, my problem persists, so I'm hoping the combined LL collective knowledge will be enough to help me out.

 

This is my quest (SlaveJailTSexVariables), with a simple script:

 

 

thisismyxcript.jpg

 

 

As you can see, all I have is:

 

scn SlaveJailTSexVariablesSCRIPT

short isrubbleprostitute
short isslaveprostitute

 

This is where I'm trying to trigger one of the variables, in the SlaveJailTRubbletownDialogue quest, SlaveJailTSportCallbackA dialogue topic:

 

 

thisiswhereimtryingtoim.jpg

 

 

And I'm trying to trigger it with this script put in "end script".

 

player.additem OutfitProstitute03Wearable 1
player.equipitem OutfitProstitute03Wearable
set SlaveJailTSexVariables.isrubbleprostitute to SlaveJailTSexVariables.isrubbleprostitute 1

 

As you can see, add topics has both the dialogue threads I'm trying to trigger with two different individuals.

 

The first conversation I'm trying to trigger through that variable is SlaveJailTSport20, which has conditions getisid sport, and isrubbleprostitute == 1.

 

 

 

thisshouldappear.jpg

 

 

Which would, if functioning, change the isrubbleprostitute variable to 2, as per this code:

 

player.removeitem OutfitProstitute03Wearable 1
player.unequipitem OutfitProstitute03Wearable
set SlaveJailTSexVariables.isrubbleprostitute to SlaveJailTSexVariables.isrubbleprostitute 2

 

The second dialogue I'm trying to trigger is SlaveJailTSlaveIntakeWhoreTricks:

 

 

togetherwiththis.jpg

 

 

Which has as conditions that the subject be both in the slaveintake formid, and that isrubblesexprostitute set to 1.

 

But for some reason, neither of these topics is showing up with the appropriate people I'm trying to talk to. I've tried everything I can think of, and the only thing I can entertain now is that my code/script is broken somehow.

 

Can anyone spot the problem?

 

Thanks a bunch.

 

Ck

Posted

Hi chance

This:

set SlaveJailTSexVariables.isrubbleprostitute to SlaveJailTSexVariables.isrubbleprostitute 1

 

should be:

set SlaveJailTSexVariables.isrubbleprostitute to 1

 

if you want to change it to 1.

 

--

 

If at any stage you want to increment a quest var, you can however use

set SlaveJailTSexVariables.isrubbleprostitute to (SlaveJailTSexVariables.isrubbleprostitute + 1)

 

but that doesn't seem to necessary here

Posted

"D'oh!"

 

Urgh, I knew it was something stupid, I just thought nvse GECK/GECK powerp would have alerted me, as it frequently does when I do something stupid lol.

 

What do you mean by increment a quest var? I have other variables for 2, and 5 I think, and will probably add others too. But it will either be 2, 5 or whatever, it won't be (for now) starting with one, then +1, then +2 and so forth.

Posted

Well, incrementing is just adding to the quest var value, for instance when you keep count of things. No need to start using it if you don't need it: I just used that as an example of the quest var showing up in the second part of the code. So technically, it is possible, which is why there's no error.

Posted

Ah ok, so if I want to just change the number, I do this:

 

set SlaveJailTSexVariables.isrubbleprostitute to 1/2/3/5/x

 

but if I want to increment, I do this:

 

set SlaveJailTSexVariables.isrubbleprostitute to (SlaveJailTSexVariables.isrubbleprostitute + 1/ + 3/ + X)

 

Right?

Posted

Thanks. For the record, that fixed it. As I suspected, hours and hours of work held back over something stupid... gotta love the GECK! And my complete lack of understanding in how to use it!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...