Talk:Utility Script
Jump to navigation
Jump to search
I'm experiencing CreateBoolArray() always filling results with true, no matter what's provided for fill. If anyone else can confirm this, we should probably make a comment on the page to socialize this until it's fixed.
Here's my code:
bool[] aOut Log( "Initial aOut is "+aOut, 5 ) Log( "Calling aOut = CreateBoolArray( "+iSize+", "+Def+" )", 5 ) aOut = CreateBoolArray( iSize, Def ) Log( "Got aOut as "+aOut, 5 ) Log( "SKSE Info"\ +": Version=["+SKSE.GetVersion()+"]"\ +", VersionMinor=["+SKSE.GetVersionMinor()+"]"\ +", VersionBeta=["+SKSE.GetVersionBeta()+"]"\ +", VersionRelease=["+SKSE.GetVersionRelease()+"]"\ +", ScriptVersionRelease=["+SKSE.GetScriptVersionRelease()+"]"\ , 5 )
Here's my papyrus log:
[07/10/2016 - 01:09:33PM] mlheur::Main::[5/5:0]Initial aOut is [] [07/10/2016 - 01:09:33PM] mlheur::Main::[5/5:0]Calling aOut = CreateBoolArray( 4, False ) [07/10/2016 - 01:09:33PM] mlheur::Main::[5/5:0]Got aOut as [True, True, True, True] [07/10/2016 - 01:09:33PM] mlheur::Main::[5/5:0]SKSE Info: Version=[1], VersionMinor=[7], VersionBeta=[3], VersionRelease=[48], ScriptVersionRelease=[48]