Jump to content

Trying to use stripslots() in a dialogue - not getting it


Recommended Posts

Posted

New modder so.... 

 

I'm trying to use stripslots() via dialogue

 

Ashal gave me some hints HERE but I'm still not getting it.

 

Trying to have my PC take her shirt off in dialogue. ("Do these make me look fat?")

 

When I looked up the function it goes like this:

; //for Function I'll Show you Mine
Function ShowMine


    bool[] strip = new bool[33]
    ; // Strip chest
    bool[16] = true 
    ; // Strip chest undergarments
    bool[26] = true


    ; // Strip our actor of their shirt and undergarment
    form[] ActorEquipment = SexLab.StripSlots(PlayerRef, strip)


; // function end here
End Function

and possibly redress her when that topic ends:

; // Stop showing mine
Function UNShowMine


    ; // Redress the player
    SexLab.UnstripActor(PlayerRef, ActorEquipment)


; // end of UnShowMe function
End Function

I've learned that I can't put the entire function into the dialogue script fragment box. Even with sexlab property inserted into the script prior to compile. So I'm guessing I need to have a script that contains the functions I want to use in the dialogue and then just call them from the dialogue. But..... how? Where do I create this "master script"? And how do I call upon a function from within the dialogue? 

 

ALSO.... and I don't think this is technically a sexlab thing...

 

Again, In Dialogue, I want to tell the NPC to equip a certain item.

Specifically, I want them to put on their Mobile Milker. In my save it's got an itemID of something like 5D000D63, but I know that will be different for everyone. 

 

Can I tell them (in dialogue) to equip it by name? Or is there a function that will look it up by name and return the ID and then I need to call that function in dialogue? I'll also want them to unequip it and put on whatever they had on before, but..... baby steps. I need to take baby steps. :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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