TobiaszPL Posted April 11, 2019 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
ReDragon2013 Posted April 11, 2019 Posted April 11, 2019 (edited) This was answered by previous posting of mine. FallOut 4 papyrus engine can handleSize = 32 NextID = new Int [ Size ], but Skyrim is able to do this onlyNextID = new Int [32] Edited April 11, 2019 by ReDragon2013
foamyesque Posted April 11, 2019 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.
Recommended Posts