Adam Jensen Posted July 19, 2014 Posted July 19, 2014 Hey guys, I been trying to learn modding these past few days so I been doing a small test so as to learn how to properly trigger sex scenes through dialogue. Here is the problem though, when I put my code into the papyrus fragment, I keep getting two errors that I can't for the life of me figure out what they are. This is more than likely a rookie mistake on my part, but I would really appreciate it if you guys could help me figure out what's wrong. Here is the log error: Starting 1 compile threads for 1 files... Compiling "SexlabValeria"... C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\SexlabValeria.psc(10,0): mismatched input 'Function' expecting ENDFUNCTION C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\SexlabValeria.psc(23,0): missing EOF at 'EndFunction' No output generated for SexlabValeria, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on SexlabValeria This is the code: ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] sexActors = new actor[2] sexActors[0] = akSpeaker sexActors[1] = Game.GetPlayer() sslBaseAnimation[] anims anims = SexLab.GetAnimationsByTag(2, "Vaginal") SexLab.StartSex(sexActors, anims) ;END CODE ENDFUNCTION ;END FRAGMENT
Recommended Posts
Archived
This topic is now archived and is closed to further replies.