Jump to content

Script Compile Error


Guest

Recommended Posts

Posted

My last post topic would'nt have generated a response because it was vague, so I decided to create a new one..

 

I am trying to compile this simple script:

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TIF__0701A5BA Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
sexlab.QuickStart( PlayerRef, Guard.GetActorRef(), none,  none,  none, PlayerRef)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

SexLabFramework Property SexLab  Auto  

Actor Property PlayerRef  Auto  

ReferenceAlias Property Guard  Auto  

And it returns this error:

Starting 1 compile threads for 1 files...
Compiling "TIF__0701A5BA"...
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1118,10): SetPathStringArray is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1118,10): cannot call the member function SetPathStringArray alone or on a type, must call it on a variable
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1122,11): SetPathFormArray is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1122,11): cannot call the member function SetPathFormArray alone or on a type, must call it on a variable
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1125,11): SetPathFloatArray is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1125,11): cannot call the member function SetPathFloatArray alone or on a type, must call it on a variable
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1140,12): SetPathFloatArray is not a function or does not exist
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\sslBaseAnimation.psc(1140,12): cannot call the member function SetPathFloatArray alone or on a type, must call it on a variable
No output generated for TIF__0701A5BA, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0701A5BA

What I've done:

  • Re-install skse scripts
  • Extracts all scripts from scripts.rar
  • reinstall skyui sdk scripts
  • reinstall sexlab scripts

I don't know whats wrong.  That particular script file it is calling on is definitely in my sources folder.  I can see it in there...  It must be something to do with those particular lines in the script.

 

Here is the group it errors on:

JsonUtil.SetPathStringArray(Filename, ".tags", GetTags())

	; JsonUtil.SetRawPathValue(Filename, ".tags", "[\""+PapyrusUtil.StringJoin(GetTags(), "\",\"")+"\"]")
	if StageSoundFX
		JsonUtil.SetPathFormArray(Filename, ".sfx", StageSoundFX)
	endIf
	if Timers
		JsonUtil.SetPathFloatArray(Filename, ".timers", Timers)
	endIf
	; if IsCreature
	; 	JsonUtil.SetPathStringArray(Filename, ".racetypes", Utility.ResizeStringArray(RaceTypes, PositionCount))
	; endIf

	int Position
	while Position < PositionCount

		int stg = 0
		while stg < StageCount
			string Path = ".positions["+Position+"]"
			int Stage = stg + 1

			JsonUtil.SetPathStringValue(Filename, Path+".animation["+stg+"]", Animations[StageIndex(Position, Stage)])
			JsonUtil.SetPathFloatArray(Filename, Path+".offset["+stg+"]", GetRawOffsets(Position, Stage)) 

Any help is appreciated.

 

Posted

JsonUtil sounds like ...

 

http://www.nexusmods.com/skyrim/mods/58705/?

 

... is missing. If it's installed(may be part of another mod): Is there perhaps another rar with the Papyrusutils' scripts?

 

I just replaced all of those, but its still not working..  I wonder if it has anything to do with using it with Mod Organizer you think?  

Posted

JsonUtil sounds like ...

 

http://www.nexusmods.com/skyrim/mods/58705/?

 

... is missing. If it's installed(may be part of another mod): Is there perhaps another rar with the Papyrusutils' scripts?

Well I fixed it by moving script files from all of its masters and fnis into the source folder.  I guess another script had something that pertains to those lines in the sslBaseAnimation file.

Archived

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

  • Recently Browsing   0 members

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