Jump to content

SexLab Script Issues - First Sex Mod


InnocentNickF

Recommended Posts

Posted

Function Sex()

 

Actor[] partner = new Actor[2]
partner[0] = Game.GetPlayer()
partner[1] = Inno_SlaveJane_Alias.GetActorRef()

 

partner[0].SetDontMove(false)
partner[1].SetDontMove(false)
Debug.SendAnimationEvent(partner[0], "IdleForceDefaultState")
Debug.SendAnimationEvent(partner[1], "IdleForceDefaultState")

 

sslBaseAnimation[] anims
anims = SexLib.GetAnimationsByTag(2, "")

 

SexLib.StartSex(Partner, anims, victim = partner2, CenterOn = none, AllowBed=true, hook="")

 

EndFunction

 

ReferenceAlias Property Inno_SlaveJane_Alias Auto
SexLabFramework Property SexLib Auto

 

 

ERRORS:

sslActorAlias.psc(353,31): variable NiOverride is undefined
sslActorAlias.psc(353,42): none is not a known user-defined type
sslSystemConfig.psc(301,8): variable FNIS is undefined
sslSystemConfig.psc(301,13): none is not a known user-defined type

sslSystemConfig.psc(301,28): cannot compare a none to a int (cast missing or types unrelated)

sslSystemConfig.psc(301,28): cannot relatively compare variables to None

Posted

Everythings compiling now but I cant Figure out why the scenes not playing.

 

___  Sex Script ____________________________________________________________________________________

zSex_Script extends Quest  

 

Function Sex(Actor a0, Actor a1)
Actor[] actors = new Actor[2]
actors[0] = a0
actors[1] = a1

 

actors[0].SetDontMove(false)
actors[1].SetDontMove(false)
Debug.SendAnimationEvent(actors[0], "IdleForceDefaultState")
Debug.SendAnimationEvent(actors[1], "IdleForceDefaultState")

 

sslBaseAnimation[] anims
anims = SexLib.GetAnimationsByTag(2, "")

SexLib.StartSex(actors, anims, victim = none, CenterOn = none, AllowBed=false, hook="")

EndFunction

 

ReferenceAlias Property Inno_SlaveJane_Alias Auto
SexLabFramework Property SexLib Auto


___ Quest Frag Calling Sex Function __________________________________________________________________

Function Fragment_01()

Quest __temp = self as Quest
Inno_SlaveJane_Sex_Script kmyQuest = __temp as Inno_SlaveJane_Sex_Script

 

Actor Player = Game.GetPlayer()
Actor Slave = Alias_Inno_SlaveJane.GetActorRef()

 

kmyQuest.Sex(Player, Slave)
Utility.Wait(3.0)
SexLab.QuickStart(Player, Slave)

EndFunction

zSex_Script.psc

Posted

I see nothing obviously wrong with the scripts. Did you check that the SlaveJane Alias is filled and that the parameter of the script is set to the alias ?

In any of those cases, you should see an error in the Papyrus logs. Do you see anything in the logs ?

Archived

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

  • Recently Browsing   0 members

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