Jump to content

Four Play CK help.


Recommended Posts

Posted

Ok guys, I'm a bit flummoxed here. I know my way around CK well enough and have done some EXTREMELY basic Sexlab stuff in the past, but I can't for the life of me seem to wrap my head around how I'm supposed to implement Four Play in a mod. Looking at Docs Source and other mods didn't help

 

All I want to do is trigger sex through a dialogue fragment. If somebody could kindly give the dummy a step by step of the simplest way to do this I'd be very grateful.

 

EDIT: 

 

I got it to work by copying this code from a fragment in an older version of FP_Prostitution... which surporised me cuz I heard that FPP 1.3 didn't work with the latest Four Play.  

 

ScriptObject four_play_script = Main.CastAs("four_play:Main")
  if four_play_script
Var[] params = new Var[5]
    params[0] = akSpeaker
    params[1] = PlayerRef
    params[2] = false
    params[3] = none
    params[4] = 30.0
    four_play_script.CallFunction("four_play", params)
endif
 
If anybody knows a better way to do this or how I can UNDERSTAND it better I'd appreciate it.
 
EDIT:
 
I'm a dumbass and just found vinfamy's tutorial in the general section.

Archived

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

  • Recently Browsing   0 members

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