Jump to content

Modding Script noob Help


Recommended Posts

Posted

Well I want to make a mod, but this requires me to create some scripts, I'm totally new to skyrim script engine, but I know how to compile and already have what I need to do so.

 

I want to add a script to an NPC (non-hostile), that talks to the player once the player is near enough, and make a conversation that can get this particular NPC to start sex with the player or become hostile depending on how the conversation goes.

 

So if someone can help me with some example of how start doing this script It will be much appreciated.

Posted

So if someone can help me with some example of how start doing this script It will be much appreciated.

 

I assume you want the script to run on a given conversation line, so you'll be working with a TopicInfo script. Add a property of type SexLabFramework, and name SexLab, then put the following code in the End Fragment:

actor[] actors = new actor[2]
actors[0] = Game.GetPlayer()
actors[1] = akSpeaker
sslBaseAnimation[] anims = SexLab.GetAnimationsByType(2)
SexLab.StartSex(actors, anims)
Posted

Sounds like you want a forcegreet to start. The conversation is handled by quest dialogue. The scripts should be generic Sexlab scripts. That's as far as I can help.

 

 

 

So if someone can help me with some example of how start doing this script It will be much appreciated.

 

I assume you want the script to run on a given conversation line, so you'll be working with a TopicInfo script. Add a property of type SexLabFramework, and name SexLab, then put the following code in the End Fragment:

actor[] actors = new actor[2]
actors[0] = Game.GetPlayer()
actors[1] = akSpeaker
sslBaseAnimation[] anims = SexLab.GetAnimationsByType(2)
SexLab.StartSex(actors, anims)

Thank you very much :)

Archived

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

  • Recently Browsing   0 members

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