Jump to content

Scripting help


Guest

Recommended Posts

Posted

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 :(

Posted

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

 

 

Posted

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

Archived

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

  • Recently Browsing   0 members

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