TobiaszPL Posted April 11, 2019 Share Posted April 11, 2019 Why i can't compile this: Int SizeFunction QChain_Constructor( Int iSize = 32 ) Size = iSize NextID = new Int [ Size as Int ]PrevID = new Int [ Size as Int ]RefID = new Int [ Size as Int ]List = new Int [ Size as Int ] EndFunction ; without casting is not working too :P Link to comment Share on other sites More sharing options...
ReDragon2013 Posted April 11, 2019 Share Posted April 11, 2019 (edited) This was answered by previous posting of mine. FallOut 4 papyrus engine can handle Size = 32 NextID = new Int [ Size ], but Skyrim is able to do this only NextID = new Int [32] Edited April 11, 2019 by ReDragon2013 Link to comment Share on other sites More sharing options...
foamyesque Posted April 11, 2019 Share Posted April 11, 2019 You need SKSE to size arrays at runtime. You can fake it without SKSE by creating your own custom handler that just has a hundred and twenty eight different cases, but screw doing that, it sucks. Link to comment Share on other sites More sharing options...
Recommended Posts