Jump to content

Scripting - Sexlab arousal check


Recommended Posts

Edit: I have been researching this myself and have written a function:

 

Function Tracker()
    Actor akActor = Game.GetPlayer()
        Box2.Show()
        slaframeworkscr.UpdateActorExposure(akActor, Utility.RandomInt(1, 3), ArousalReasonStr)
endFunction

 

And now i am getting the following compilation error: "C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\temp\CC_Quest_Scr.psc(60,21): cannot call the member function UpdateActorExposure alone or on a type, must call it on a variable"

Link to comment

Fixed it by writing:

 

Function Tracker()
    Actor akActor = Game.GetPlayer()
      Message m_suit = None
        Box2.Show()
    if (CurrentPanties != None)
        m_suit.Show()
        slaarousal.UpdateActorExposure(akActor, Utility.RandomInt(1, 3), ArousalReasonStr)
    endif
endFunction

Link to comment
  • 4 weeks later...

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use