Jump to content
IGNORED

If Sexlab framework would like to allow multiple Actors reposition themselves after SexLab.QuickStart?


Recommended Posts

;below is a minor rewrite experiment
of RotateScene function to allow feed parameters to reposition Pos X, Pos Y, Pos Z , Angle Z of all available SexActors.  Just to bind with HotKey with necessary parameters to make it work. 


  function MoveTogetherScene(bool backwards = false,  float Amount = 10.0 , int index = 0,  int KEY_index = 56 )
		
		UnregisterForUpdate()
		PlayHotkeyFX(1, !backwards)
		
       if( backwards )
			Amount = Amount * 1
		else
			Amount = Amount * -1
		endif
		
		CenterLocation[index] = CenterLocation[index] + Amount ; index 0-5 refers to coordinate x, y, z, angle x, angle y, angle z, but only 0,1,2,5 will work in game. 
		 
		ActorAlias[0].RefreshLoc()
		ActorAlias[1].RefreshLoc()
		ActorAlias[2].RefreshLoc()
		ActorAlias[3].RefreshLoc()
		ActorAlias[4].RefreshLoc()
		int k = KEY_index;
		while Input.IsKeyPressed(k)
			PlayHotkeyFX(1, !backwards)
			Amount = Amount*1.5;  moves faster and faster if HotKey Holds for lonerg time
			CenterLocation[index] = CenterLocation[index] + Amount
			ActorAlias[0].RefreshLoc()
			ActorAlias[1].RefreshLoc()
			ActorAlias[2].RefreshLoc()
			ActorAlias[3].RefreshLoc()
			ActorAlias[4].RefreshLoc()
		endWhile
		RegisterForSingleUpdate(UPDATE_RATE) ; this can be 0.2 
	endFunction
              

 just be curious that why not SexLab  allow moving multiple actors together ?    

with this function intergrated ,  sexlab can reposition actors 2p-5p sex animation on the fly ,  playing Sex anim in the sky without flying mod .....    

moving active actors up and down, left & right , forward and backward ...  

 

a roughly made screen recording video to demo the movement presented by the script

https://mega.nz/#!x3ohXaLB!jw2t1T8DiflP8dDnFsRVMfIMW_Q2lZH8FXY2hLHoS2c

 

Some Thinking : 

pitfall of the movement behavior is that such way of movemnt can not be as smooth as the  effect performed by Jaxonz Positioner mod ... 

https://www.nexusmods.com/skyrim/mods/52583/ 

it also can not alther the angle x, angle y of the actors,   like the way used by screenshotPad mod, but  someone told me before the way it used  would cause save file corruption 

https://www.nexusmods.com/skyrim/mods/69120

 

 

Just share it if someone likes to try and work on some script mod related. 

 

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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