Jump to content

Get rid of Strapon in SL Animations


Recommended Posts

Posted

I am unable to get rid of strapons in kissing animation (Leito Kissing):

function Kiss(Actor woman,Actor man)
	Actor[] sexActors = new Actor[2]
	sexActors[0] = woman
	sexActors[1] = man
	Actor[] SortedSexActors = SexLab.SortActors(SexActors)
	string GenderTag = SexLab.MakeAnimationGenderTag(SortedSexActors)
	
	sslBaseAnimation[] anims = SexLab.GetAnimationsByTags(2,"Foreplay,Kissing,"+GenderTag,"Sex,Penis,Petting,Pussy",true)
	if !anims
		SexFailed()
		return
	endif
	
	sslThreadModel thread = SexLab.NewThread()
	thread.AddActor(SortedSexActors[0],ForceSilent = true)
	thread.AddActor(SortedSexActors[1],ForceSilent = true)
	thread.DisableUndressAnimation(woman)
	thread.DisableUndressAnimation(man)
	thread.SetStrip(woman,noneStripping)
	thread.SetStrip(man,noneStripping)
	thread.SetStrapon(woman,none)
	thread.SetStrapon(man,none)
	thread.CenterOnObject(none)
	thread.SetAnimations(anims)
	thread.SetHook("PimpSex")
	thread.IsAggressive = false
	thread.DisableBedUse()
	if !thread.StartThread()
		SexFailed()
	endif
endfunction

Is there a more simple way to trigger a plain kissing scene without all the overhead of centering, clothes management, voice management etc.  - simply two kissing actors?

Posted

Replace thread.setStrapon(actor, None) with:

 

 

Armor strap = thread.GetStrapon(actor)
if strap
  thread.setStrapon(actor, strap)
else
  thread.UnequipStrapon(actor)
endIf

 

 

If you pass a None to SetStrapn then whole function does nothing.

 

Archived

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

  • Recently Browsing   0 members

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