Editing array properties

Post » Sat Apr 06, 2013 10:45 pm

If I want to add some values to various arrays (ref alias, int, quest, bool), I do it like

PSEssentialQuestScript NPEScript = pPSNoPermanentEssentialsQuest as PSEssentialQuestScriptNPEScript.DoStageDoneArrayAlias[19] = falseNPEScript.EssentialAliasArray[19] = PSNoPermanentEssentialsQuestCaptainLonelyGaleEssentialNPEScript.MyQST2ArrayAlias[19] = noneNPEScript.MyQSTArrayAlias[19] = pMS11NPEScript.preReqStage2ArrayAlias[19] = -1NPEScript.preReqStageArrayAlias[19] = 205

Right?

I'm adding to a specific spot in the array, if that wasn't clear.

***

It seems to work fine in-game, but the log throws errors about the array not being big enough. I'd like to know how to fix that.

For reference, the arrays as-is have 18 spots.
User avatar
LittleMiss
 
Posts: 3412
Joined: Wed Nov 29, 2006 6:22 am

Return to V - Skyrim