Jump to content

Scripting help


Guest

Recommended Posts

Again knowledge of scripting is very little any help is appreciated

 

So basically I want add a spell after a sex scene takes place and for the life of me i can't seem to figure it out I been trying for 3 hours D: I offically given myself a headache :(

Link to comment

Add an Hook to the sex animation you are playing.

 

RegisterForModEvent("HookAnimationEnding_YourMod", "nowAddTheSpell")

slThread.Sethook("YourMod")

 

 

 

Event nowAddTheSpellevent(int tid, bool hasPlayer)

  sslThreadController tc = SexLab.GetController(tid)
  Actor[] Positions = tc.Positions
  Positions[0].addSpell(myGloriousSpell)

endEvent

 

Spell Property myGloriousSpell Auto

 

 

Link to comment

Add an Hook to the sex animation you are playing.

 

RegisterForModEvent("HookAnimationEnding_YourMod", "nowAddTheSpell")

slThread.Sethook("YourMod")

 

 

 

Event nowAddTheSpellevent(int tid, bool hasPlayer)

  sslThreadController tc = SexLab.GetController(tid)
  Actor[] Positions = tc.Positions
  Positions[0].addSpell(myGloriousSpell)

endEvent

 

Spell Property myGloriousSpell Auto

 

THANKS for the help again :D

Link to comment

Archived

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

  • 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